Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 110.6 kB / 17.73 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 190.9 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 60.3 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1037, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005787/0.1095, allocations: 3.919 MB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1943/0.3039, allocations: 1.343 MB / 379.9 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005579/0.3046, allocations: 11.06 kB / 379.9 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.3056, allocations: 256 kB / 380.2 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007144/0.3064, allocations: 252.3 kB / 380.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.3071, allocations: 267.5 kB / 380.7 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008162/0.308, allocations: 0.7187 MB / 381.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.3083, allocations: 163.2 kB / 381.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.3088, allocations: 277.8 kB / 381.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.3092, allocations: 298.2 kB / 382.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.3093, allocations: 50.25 kB / 382.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.3097, allocations: 102.2 kB / 382.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.3099, allocations: 144.8 kB / 382.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.3103, allocations: 302.6 kB / 382.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009323/0.3112, allocations: 0.7128 MB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3112, allocations: 0 / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3112, allocations: 1.281 kB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3112, allocations: 0.75 kB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001616/0.3129, allocations: 0.9522 MB / 384.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3129, allocations: 9.625 kB / 384.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.437e-05/0.313, allocations: 80.56 kB / 384.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3131, allocations: 69.64 kB / 384.5 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.3137, allocations: 423.4 kB / 384.9 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.3137, allocations: 32.66 kB / 385 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.3138, allocations: 39.09 kB / 385 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.3146, allocations: 447.8 kB / 385.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3146, allocations: 0 / 385.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.3147, allocations: 17.66 kB / 385.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3147, allocations: 10.22 kB / 385.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.3153, allocations: 315.1 kB / 385.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.3177, allocations: 1.689 MB / 387.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.3184, allocations: 382 kB / 387.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.3187, allocations: 183.3 kB / 388 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.3187, allocations: 5.047 kB / 388 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.3192, allocations: 268.5 kB / 388.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.834e-06/0.3192, allocations: 0 / 388.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002137/0.3214, allocations: 1.01 MB / 389.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.3215, allocations: 191 kB / 389.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.3221, allocations: 0.5011 MB / 390 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3221, allocations: 33.33 kB / 390 MB, free: 4.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.3223, allocations: 260.1 kB / 390.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.3224, allocations: 127.7 kB / 390.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3225, allocations: 78.48 kB / 390.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.3227, allocations: 355.2 kB / 390.8 MB, free: 4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.3229, allocations: 120.5 kB / 391 MB, free: 3.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.3232, allocations: 221.9 kB / 391.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.3237, allocations: 270.1 kB / 391.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3237, allocations: 3.938 kB / 391.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00079/0.3245, allocations: 478.6 kB / 391.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3246, allocations: 6.062 kB / 391.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3246, allocations: 1.531 kB / 391.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.3251, allocations: 160.8 kB / 392.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.3253, allocations: 44.94 kB / 392.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/0.3303, allocations: 6.662 MB / 398.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.3308, allocations: 53.06 kB / 398.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.3308, allocations: 14.19 kB / 398.8 MB, free: 12.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.3312, allocations: 187.5 kB / 399 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.3313, allocations: 59.2 kB / 399.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3314, allocations: 64.34 kB / 399.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3314, allocations: 3.938 kB / 399.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3315, allocations: 2.203 kB / 399.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3315, allocations: 1.641 kB / 399.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.3321, allocations: 494.8 kB / 399.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3322, allocations: 4 kB / 399.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3323, allocations: 33.27 kB / 399.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.3328, allocations: 152.5 kB / 399.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.3328, allocations: 11.56 kB / 399.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005949/0.3388, allocations: 6.36 MB / 406.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3388, allocations: 0 / 406.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.3401, allocations: 0.51 MB / 406.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.3404, allocations: 163 kB / 406.9 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.3405, allocations: 7.547 kB / 406.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.3408, allocations: 37.05 kB / 406.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.3411, allocations: 48.78 kB / 406.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.3412, allocations: 16.77 kB / 407 MB, free: 5.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007427/0.3419, allocations: 359.9 kB / 407.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3419, allocations: 0 / 407.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001031/0.3429, allocations: 169 kB / 407.5 MB, free: 5.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003069/0.346, allocations: 1.383 MB / 408.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.3474, allocations: 0.8049 MB / 409.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3474, allocations: 0 / 409.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.3483, allocations: 0.6579 MB / 410.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.349, allocations: 119.4 kB / 410.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/0.3568, allocations: 4.264 MB / 414.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.3575, allocations: 0.8651 MB / 415.6 MB, free: 0 / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.3578, allocations: 45.52 kB / 415.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.3581, allocations: 170.7 kB / 415.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3581, allocations: 0 / 415.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06537/0.4235, allocations: 14.41 MB / 430.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.93, allocations: 0 / 430.2 MB, free: 5.203 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches