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.001298/0.001298, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00145/0.00145, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001525/0.001525, allocations: 47.92 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2475, allocations: 53.38 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01513/0.2626, allocations: 14.78 MB / 447.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02941/0.292, allocations: 20.78 MB / 467.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.2956, allocations: 138.5 kB / 468.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004261/0.2998, allocations: 1.244 MB / 469.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008703/0.3085, allocations: 2.366 MB / 471.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005848/0.3144, allocations: 1.457 MB / 473.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.3263, allocations: 6.607 MB / 479.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/0.3272, allocations: 281.6 kB / 480 MB, free: 7.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.3295, allocations: 1.143 MB / 481.2 MB, free: 5.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.3316, allocations: 1.11 MB / 482.3 MB, free: 4.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.3321, allocations: 79.94 kB / 482.4 MB, free: 4.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/0.3378, allocations: 1.479 MB / 483.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.3384, allocations: 325.6 kB / 484.2 MB, free: 2.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.3406, allocations: 1.374 MB / 485.5 MB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00636/0.347, allocations: 3.787 MB / 489.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.347, allocations: 0 / 489.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.347, allocations: 3.938 kB / 489.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.565e-05/0.347, allocations: 0 / 489.3 MB, free: 13.75 MB / 398.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.006068/0.3531, allocations: 3.734 MB / 493.1 MB, free: 9.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3532, allocations: 8.031 kB / 493.1 MB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.3536, allocations: 417.4 kB / 493.5 MB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/0.3572, allocations: 2.288 MB / 495.8 MB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.3573, allocations: 40.94 kB / 495.8 MB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3574, allocations: 56 kB / 495.9 MB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.3588, allocations: 0.7343 MB / 496.6 MB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3588, allocations: 0 / 496.6 MB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.3589, allocations: 20 kB / 496.6 MB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.3589, allocations: 19.98 kB / 496.6 MB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.3605, allocations: 0.8202 MB / 497.5 MB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/0.3662, allocations: 2.999 MB / 0.4887 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.3673, allocations: 0.5241 MB / 0.4892 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009447/0.3683, allocations: 0.5614 MB / 0.4898 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02562/0.3939, allocations: 13.78 MB / 0.5032 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007753/0.3947, allocations: 365.7 kB / 0.5036 GB, free: 2.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/0.3947, allocations: 0 / 0.5036 GB, free: 2.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002406/0.3971, allocations: 1.107 MB / 0.5047 GB, free: 1.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3972, allocations: 63.41 kB / 0.5047 GB, free: 1.566 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003801/0.401, allocations: 2.939 MB / 0.5076 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.401, allocations: 33.7 kB / 0.5076 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.4024, allocations: 1.498 MB / 0.5091 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.4026, allocations: 178.5 kB / 0.5093 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.4029, allocations: 230.4 kB / 0.5095 GB, free: 12.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4031, allocations: 337.9 kB / 0.5098 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000585/0.4037, allocations: 241.9 kB / 0.51 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.4045, allocations: 0.5979 MB / 0.5106 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.406, allocations: 0.8973 MB / 0.5115 GB, free: 10.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.406, allocations: 7.938 kB / 0.5115 GB, free: 10.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002353/0.4083, allocations: 1.239 MB / 0.5127 GB, free: 8.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4084, allocations: 16.95 kB / 0.5127 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.4085, allocations: 80 kB / 0.5128 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.484e-05/0.4085, allocations: 20 kB / 0.5128 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.4093, allocations: 203.6 kB / 0.513 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.804e-05/0.4093, allocations: 27.92 kB / 0.513 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4103, allocations: 111.3 kB / 0.5132 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4104, allocations: 68 kB / 0.5132 GB, free: 8.477 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.0008159/0.4112, allocations: 437.4 kB / 0.5136 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/0.4116, allocations: 401.5 kB / 0.514 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.4143, allocations: 1.19 MB / 0.5152 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.4143, allocations: 4 kB / 0.5152 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4143, allocations: 7.984 kB / 0.5152 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4143, allocations: 0 / 0.5152 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.4179, allocations: 2.076 MB / 0.5172 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001103/0.418, allocations: 72 kB / 0.5173 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.4185, allocations: 91.84 kB / 0.5174 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4185, allocations: 0 / 0.5174 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.4185, allocations: 32 kB / 0.5174 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.4185, allocations: 8.062 kB / 0.5174 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4185, allocations: 0 / 0.5174 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.4209, allocations: 1.314 MB / 0.5187 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008726/0.4218, allocations: 419.2 kB / 0.5191 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.4221, allocations: 12 kB / 0.5191 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.4227, allocations: 32.03 kB / 0.5191 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.4229, allocations: 67.86 kB / 0.5192 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/0.4229, allocations: 39.98 kB / 0.5192 GB, free: 2.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002661/0.4256, allocations: 1.899 MB / 0.5211 GB, free: 308 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4256, allocations: 3.938 kB / 0.5211 GB, free: 304 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001429/0.427, allocations: 0.5931 MB / 0.5217 GB, free: 15.7 MB / 446.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.001159/0.4282, allocations: 0.7768 MB / 0.5224 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.4299, allocations: 0.7671 MB / 0.5232 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4299, allocations: 3.938 kB / 0.5232 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.4307, allocations: 431.9 kB / 0.5236 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.4332, allocations: 0.6036 MB / 0.5242 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.44, allocations: 4.466 MB / 0.5286 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.4413, allocations: 1.664 MB / 0.5302 GB, free: 6.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.4416, allocations: 155.4 kB / 0.5303 GB, free: 6.703 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4416, allocations: 0 / 0.5303 GB, free: 6.703 MB / 446.1 MB Notification: Performance of Templates: time 0.2512/0.6928, allocations: 37.75 MB / 0.5672 GB, free: 80.79 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: 10.616860635112971]