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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 62.56 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2568, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004507/0.2613, allocations: 3.588 MB / 399.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.2637, allocations: 1.316 MB / 401.2 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.2641, allocations: 11.12 kB / 401.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008787/0.265, allocations: 257.3 kB / 401.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006499/0.2656, allocations: 263.4 kB / 401.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.2664, allocations: 275 kB / 402 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.2671, allocations: 0.7162 MB / 402.8 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.2674, allocations: 111.9 kB / 402.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.2678, allocations: 281.6 kB / 403.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.2682, allocations: 282.8 kB / 403.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.923e-05/0.2683, allocations: 54.91 kB / 403.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.2685, allocations: 98.22 kB / 403.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2687, allocations: 148.1 kB / 403.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.2689, allocations: 239.8 kB / 403.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.2697, allocations: 0.7141 MB / 404.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2697, allocations: 5.406 kB / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2697, allocations: 0 / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.2697, allocations: 0 / 404.7 MB, free: 3.992 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.00148/0.2712, allocations: 0.8778 MB / 405.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2713, allocations: 14.61 kB / 405.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.2714, allocations: 81.66 kB / 405.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2715, allocations: 69.27 kB / 405.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.272, allocations: 351.6 kB / 406 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.272, allocations: 29.94 kB / 406.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.2721, allocations: 42.44 kB / 406.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.2728, allocations: 0.5242 MB / 406.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2728, allocations: 0.75 kB / 406.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.2728, allocations: 20 kB / 406.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2729, allocations: 14.28 kB / 406.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.2734, allocations: 310.6 kB / 407 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.2754, allocations: 1.557 MB / 408.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.276, allocations: 340.1 kB / 408.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.2763, allocations: 159.1 kB / 409 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2763, allocations: 8.734 kB / 409 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.2767, allocations: 361.5 kB / 409.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.2767, allocations: 0 / 409.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001979/0.2787, allocations: 0.7124 MB / 410.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.2788, allocations: 162.9 kB / 410.3 MB, free: 424 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.2793, allocations: 0.5031 MB / 410.8 MB, free: 188 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2794, allocations: 37.06 kB / 410.8 MB, free: 148 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2796, allocations: 259.9 kB / 411 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.2797, allocations: 126.3 kB / 411.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2798, allocations: 78.16 kB / 411.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.28, allocations: 358.1 kB / 411.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.2802, allocations: 121 kB / 411.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.2806, allocations: 345.7 kB / 412 MB, free: 15.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.2811, allocations: 272.8 kB / 412.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2811, allocations: 1.5 kB / 412.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008539/0.282, allocations: 474.8 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.282, allocations: 9.297 kB / 412.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.282, allocations: 1.125 kB / 412.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005033/0.2825, allocations: 154.5 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.2828, allocations: 53.16 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005426/0.2882, allocations: 6.21 MB / 419.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.2886, allocations: 50.22 kB / 419.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.2887, allocations: 14.12 kB / 419.3 MB, free: 8.359 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.0003167/0.289, allocations: 194.4 kB / 419.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.2891, allocations: 57.33 kB / 419.5 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.2902, allocations: 0.4937 MB / 420 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2902, allocations: 3.219 kB / 420 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2902, allocations: 5.281 kB / 420 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2902, allocations: 0 / 420 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.2907, allocations: 419.1 kB / 420.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2907, allocations: 0 / 420.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2909, allocations: 25.17 kB / 420.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.2913, allocations: 163.7 kB / 420.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.2913, allocations: 7.156 kB / 420.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/0.2969, allocations: 5.919 MB / 426.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2969, allocations: 4.234 kB / 426.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2982, allocations: 0.5028 MB / 427 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.2984, allocations: 79.41 kB / 427.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.2985, allocations: 11.69 kB / 427.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.2988, allocations: 32.25 kB / 427.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.299, allocations: 61.48 kB / 427.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.299, allocations: 12.97 kB / 427.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004781/0.2995, allocations: 364.8 kB / 427.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2995, allocations: 0 / 427.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008014/0.3003, allocations: 171.3 kB / 427.8 MB, free: 0.9023 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,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * 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.003015/0.3033, allocations: 1.409 MB / 429.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.3047, allocations: 0.7796 MB / 429.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3047, allocations: 0 / 429.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008274/0.3055, allocations: 0.6487 MB / 430.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.3061, allocations: 114.8 kB / 430.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.3134, allocations: 4.27 MB / 435 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3137, allocations: 263.2 kB / 435.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.314, allocations: 48.16 kB / 435.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.3143, allocations: 171.4 kB / 435.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3143, allocations: 0 / 435.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/0.3749, allocations: 15.25 MB / 450.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.75, allocations: 0 / 450.7 MB, free: 10.82 MB / 366.1 MB " [Timeout remaining time 647] (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 --stepSize=0.00118765 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.272418024018407]