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.001644/0.001644, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.001852/0.001852, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001606/0.001606, allocations: 43.92 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3084, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01433/0.3227, allocations: 12.4 MB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3471, allocations: 17.89 MB / 462.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.3495, allocations: 138.5 kB / 462.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.3528, allocations: 1.127 MB / 463.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007851/0.3607, allocations: 2.355 MB / 466.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005056/0.3657, allocations: 1.422 MB / 467.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.3766, allocations: 6.603 MB / 474.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.3773, allocations: 265.7 kB / 474.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.3793, allocations: 1.155 MB / 475.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.381, allocations: 1.059 MB / 476.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.3813, allocations: 72 kB / 476.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.3848, allocations: 1.206 MB / 478 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003685/0.3852, allocations: 325.6 kB / 478.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.3866, allocations: 1.013 MB / 479.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005507/0.3921, allocations: 3.834 MB / 483.2 MB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3921, allocations: 0 / 483.2 MB, free: 3.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3921, allocations: 3.938 kB / 483.2 MB, free: 3.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.3921, allocations: 0 / 483.2 MB, free: 3.652 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.005504/0.3976, allocations: 3.73 MB / 486.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3977, allocations: 12.03 kB / 486.9 MB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.3981, allocations: 409.4 kB / 487.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.4018, allocations: 2.295 MB / 489.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.4019, allocations: 37 kB / 489.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.402, allocations: 51.98 kB / 489.7 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.4034, allocations: 0.7343 MB / 490.4 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4034, allocations: 0 / 490.4 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.4035, allocations: 20 kB / 490.5 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.4035, allocations: 19.98 kB / 490.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.4052, allocations: 0.8163 MB / 491.3 MB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005296/0.4104, allocations: 2.762 MB / 494.1 MB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.4117, allocations: 0.5125 MB / 494.6 MB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009975/0.4127, allocations: 0.5653 MB / 495.1 MB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02683/0.4395, allocations: 13.72 MB / 0.4969 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007829/0.4403, allocations: 369.6 kB / 0.4973 GB, free: 8.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.4403, allocations: 0 / 0.4973 GB, free: 8.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002327/0.4426, allocations: 1.114 MB / 0.4984 GB, free: 7.863 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4427, allocations: 59.41 kB / 0.4984 GB, free: 7.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.4464, allocations: 2.954 MB / 0.5013 GB, free: 4.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.4465, allocations: 37.7 kB / 0.5013 GB, free: 4.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.4479, allocations: 1.495 MB / 0.5028 GB, free: 3.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.4481, allocations: 170.6 kB / 0.503 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.4484, allocations: 234.3 kB / 0.5032 GB, free: 2.879 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4486, allocations: 338 kB / 0.5035 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.4492, allocations: 245.8 kB / 0.5037 GB, free: 2.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.4501, allocations: 0.6017 MB / 0.5043 GB, free: 1.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.4517, allocations: 0.8935 MB / 0.5052 GB, free: 464 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.4517, allocations: 4 kB / 0.5052 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002329/0.4541, allocations: 1.246 MB / 0.5064 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4541, allocations: 8.938 kB / 0.5064 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/0.4542, allocations: 80 kB / 0.5065 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/0.4542, allocations: 23.98 kB / 0.5065 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.455, allocations: 199.6 kB / 0.5067 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/0.455, allocations: 23.92 kB / 0.5067 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009715/0.456, allocations: 115.3 kB / 0.5069 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.4561, allocations: 67.98 kB / 0.5069 GB, free: 14.69 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.0007609/0.4569, allocations: 437.4 kB / 0.5073 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.4573, allocations: 397.5 kB / 0.5077 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.46, allocations: 1.197 MB / 0.5089 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.46, allocations: 4 kB / 0.5089 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.46, allocations: 0 / 0.5089 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.46, allocations: 3.984 kB / 0.5089 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.4635, allocations: 1.939 MB / 0.5108 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001053/0.4636, allocations: 72.06 kB / 0.5109 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.4641, allocations: 95.8 kB / 0.511 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.4641, allocations: 7.984 kB / 0.511 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.4641, allocations: 28 kB / 0.511 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4641, allocations: 0 / 0.511 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4641, allocations: 4 kB / 0.511 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.4665, allocations: 1.314 MB / 0.5123 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008974/0.4674, allocations: 427.2 kB / 0.5127 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.4677, allocations: 12.06 kB / 0.5127 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/0.4684, allocations: 27.97 kB / 0.5127 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.4685, allocations: 59.92 kB / 0.5128 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.4686, allocations: 40 kB / 0.5128 GB, free: 8.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002566/0.4712, allocations: 1.903 MB / 0.5147 GB, free: 6.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4712, allocations: 0 / 0.5147 GB, free: 6.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001318/0.4725, allocations: 0.5891 MB / 0.5152 GB, free: 6.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.4736, allocations: 0.7846 MB / 0.516 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.4753, allocations: 0.7706 MB / 0.5168 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4753, allocations: 0 / 0.5168 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008053/0.4761, allocations: 432.2 kB / 0.5172 GB, free: 4.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.4784, allocations: 0.6061 MB / 0.5178 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.4849, allocations: 4.466 MB / 0.5221 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.4861, allocations: 1.109 MB / 0.5232 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.4864, allocations: 159.4 kB / 0.5234 GB, free: 13.61 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4864, allocations: 0 / 0.5234 GB, free: 13.61 MB / 446.1 MB Notification: Performance of Templates: time 0.2337/0.72, allocations: 39.24 MB / 0.5617 GB, free: 88.35 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: 11.137880785390735]