Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.001814/0.001814, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 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.00218/0.00218, allocations: 213.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.88 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2145, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01359/0.2281, allocations: 12.41 MB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02299/0.2511, allocations: 17.89 MB / 462.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.2526, allocations: 138.4 kB / 462.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.2554, allocations: 1.127 MB / 463.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006393/0.2618, allocations: 2.359 MB / 466.2 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.2657, allocations: 1.414 MB / 467.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009381/0.2751, allocations: 6.603 MB / 474.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.2756, allocations: 273.7 kB / 474.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.2772, allocations: 1.159 MB / 475.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.2786, allocations: 1.11 MB / 476.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.2788, allocations: 76 kB / 476.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.2819, allocations: 1.237 MB / 478.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.2822, allocations: 325.7 kB / 478.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2834, allocations: 1.009 MB / 479.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.2884, allocations: 3.83 MB / 483.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2884, allocations: 0 / 483.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2884, allocations: 4 kB / 483.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.2884, allocations: 0 / 483.3 MB, free: 3.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005705/0.2941, allocations: 3.738 MB / 487 MB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.2942, allocations: 8.031 kB / 487 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004676/0.2946, allocations: 409.4 kB / 487.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.2983, allocations: 2.295 MB / 489.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.2984, allocations: 37 kB / 489.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.2985, allocations: 48 kB / 489.8 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.3, allocations: 0.7382 MB / 490.5 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3, allocations: 0 / 490.5 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.3001, allocations: 20 kB / 490.6 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3001, allocations: 19.98 kB / 490.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.3019, allocations: 0.8202 MB / 491.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005377/0.3072, allocations: 2.758 MB / 494.2 MB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3085, allocations: 0.5163 MB / 494.7 MB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.3095, allocations: 0.5731 MB / 495.2 MB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02749/0.337, allocations: 13.71 MB / 0.497 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008256/0.3378, allocations: 361.7 kB / 0.4974 GB, free: 8.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.3378, allocations: 0 / 0.4974 GB, free: 8.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002385/0.3402, allocations: 1.11 MB / 0.4985 GB, free: 7.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3403, allocations: 67.39 kB / 0.4985 GB, free: 7.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.3438, allocations: 2.954 MB / 0.5014 GB, free: 4.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.3439, allocations: 33.7 kB / 0.5014 GB, free: 4.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.3453, allocations: 1.498 MB / 0.5029 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.3454, allocations: 174.6 kB / 0.5031 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.3458, allocations: 230.3 kB / 0.5033 GB, free: 2.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3459, allocations: 337.9 kB / 0.5036 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.3465, allocations: 241.9 kB / 0.5038 GB, free: 2.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.3475, allocations: 0.6056 MB / 0.5044 GB, free: 1.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.349, allocations: 0.8857 MB / 0.5053 GB, free: 368 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.349, allocations: 4 kB / 0.5053 GB, free: 364 kB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002239/0.3512, allocations: 1.247 MB / 0.5065 GB, free: 15.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3513, allocations: 8 kB / 0.5065 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.3514, allocations: 83.98 kB / 0.5066 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.3514, allocations: 23.94 kB / 0.5066 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/0.3522, allocations: 208.3 kB / 0.5068 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.3522, allocations: 23.92 kB / 0.5068 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009292/0.3531, allocations: 115.2 kB / 0.507 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.3533, allocations: 64 kB / 0.507 GB, free: 14.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006765/0.3539, allocations: 433.5 kB / 0.5074 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.3543, allocations: 405.4 kB / 0.5078 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.357, allocations: 1.194 MB / 0.509 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.357, allocations: 3.984 kB / 0.509 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/0.3571, allocations: 68 kB / 0.5091 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008962/0.358, allocations: 419.1 kB / 0.5095 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.3583, allocations: 8 kB / 0.5095 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.359, allocations: 31.97 kB / 0.5095 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.3592, allocations: 63.92 kB / 0.5096 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001764/0.361, allocations: 0.6764 MB / 0.5102 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002403/0.3634, allocations: 1.37 MB / 0.5116 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005794/0.3639, allocations: 221.4 kB / 0.5118 GB, free: 9.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002489/0.3664, allocations: 1.907 MB / 0.5136 GB, free: 7.773 MB / 430.1 MB Notification: Performance of Backend: time 4.41e-07/0.3664, allocations: 0 / 0.5136 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.3696, allocations: 1.457 MB / 0.515 GB, free: 6.285 MB / 430.1 MB Notification: Performance of SimCode: time 0.007529/0.3771, allocations: 5.483 MB / 0.5204 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of Templates: time 0.2191/0.5962, allocations: 40.55 MB / 0.56 GB, free: 91.27 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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: 5.690872842002136]