Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001997/0.001997, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.002466/0.002466, allocations: 164.2 kB / 25.02 MB, free: 9.438 MB / 18.57 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.393/1.393, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 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: 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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.974e-05, allocations: 2.312 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01542/0.01545, allocations: 11.84 MB / 262.2 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02544/0.0409, allocations: 17.05 MB / 279.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.04323, allocations: 138.5 kB / 279.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.04693, allocations: 1.11 MB / 280.5 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008433/0.05537, allocations: 2.401 MB / 282.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005227/0.06059, allocations: 1.39 MB / 284.3 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.07264, allocations: 6.562 MB / 290.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008146/0.07346, allocations: 265.8 kB / 291.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.07581, allocations: 1.426 MB / 292.5 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.07705, allocations: 0.7669 MB / 293.3 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.07723, allocations: 76 kB / 293.4 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.0808, allocations: 1.089 MB / 294.4 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.0812, allocations: 329.6 kB / 294.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.08256, allocations: 0.7476 MB / 295.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005637/0.0882, allocations: 3.783 MB / 299.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.0882, allocations: 0 / 299.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0882, allocations: 4 kB / 299.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.049e-05/0.08826, allocations: 0 / 299.3 MB, free: 2.762 MB / 282.7 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.1115/0.1998, allocations: 3.707 MB / 303 MB, free: 59.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1998, allocations: 13.61 kB / 303 MB, free: 59.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.2004, allocations: 455.3 kB / 303.5 MB, free: 59.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/0.2039, allocations: 2.607 MB / 306.1 MB, free: 58.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.2039, allocations: 36.17 kB / 306.1 MB, free: 58.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.2041, allocations: 55.36 kB / 306.2 MB, free: 58.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.2056, allocations: 0.7345 MB / 306.9 MB, free: 57.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2056, allocations: 1.094 kB / 306.9 MB, free: 57.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.2057, allocations: 21.55 kB / 306.9 MB, free: 57.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.2057, allocations: 19.86 kB / 306.9 MB, free: 57.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.2072, allocations: 0.8235 MB / 307.8 MB, free: 57.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005092/0.2123, allocations: 2.766 MB / 310.5 MB, free: 56.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2134, allocations: 0.5172 MB / 311 MB, free: 56.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008722/0.2143, allocations: 0.5722 MB / 311.6 MB, free: 55.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/0.2355, allocations: 15.27 MB / 326.9 MB, free: 41.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.2361, allocations: 358 kB / 327.2 MB, free: 41.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.505e-06/0.2361, allocations: 6.688 kB / 327.2 MB, free: 41.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.002267/0.2384, allocations: 1.125 MB / 328.4 MB, free: 40.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2384, allocations: 63.41 kB / 328.4 MB, free: 40.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.2411, allocations: 2.976 MB / 331.4 MB, free: 37.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.2411, allocations: 37.7 kB / 331.4 MB, free: 37.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008526/0.242, allocations: 1.502 MB / 332.9 MB, free: 35.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.2421, allocations: 174.6 kB / 333.1 MB, free: 35.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.2424, allocations: 222.4 kB / 333.3 MB, free: 35.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.2424, allocations: 341.9 kB / 333.7 MB, free: 34.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.2429, allocations: 240.8 kB / 333.9 MB, free: 34.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.2436, allocations: 0.6095 MB / 334.5 MB, free: 33.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.2448, allocations: 0.8938 MB / 335.4 MB, free: 32.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2448, allocations: 0 / 335.4 MB, free: 32.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001959/0.2467, allocations: 1.293 MB / 336.7 MB, free: 31.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2467, allocations: 12.62 kB / 336.7 MB, free: 31.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.497e-05/0.2468, allocations: 83.98 kB / 336.8 MB, free: 31.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.2469, allocations: 20.62 kB / 336.8 MB, free: 31.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.2475, allocations: 199.6 kB / 337 MB, free: 31.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.2475, allocations: 24.97 kB / 337 MB, free: 31.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.2486, allocations: 127 kB / 337.2 MB, free: 31.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/0.2487, allocations: 63.94 kB / 337.2 MB, free: 31.12 MB / 282.7 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.0006304/0.2494, allocations: 433.5 kB / 337.6 MB, free: 30.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004368/0.2498, allocations: 412.7 kB / 338 MB, free: 30.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.2523, allocations: 1.201 MB / 339.2 MB, free: 29.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2524, allocations: 8 kB / 339.3 MB, free: 29.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2524, allocations: 0 / 339.3 MB, free: 29.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2524, allocations: 0 / 339.3 MB, free: 29.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.2555, allocations: 1.953 MB / 341.2 MB, free: 27.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-05/0.2556, allocations: 72 kB / 341.3 MB, free: 27.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.2561, allocations: 87.92 kB / 341.4 MB, free: 26.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.2561, allocations: 3.938 kB / 341.4 MB, free: 26.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.2562, allocations: 35.98 kB / 341.4 MB, free: 26.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2562, allocations: 0 / 341.4 MB, free: 26.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2562, allocations: 4 kB / 341.4 MB, free: 26.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.2583, allocations: 1.336 MB / 342.7 MB, free: 25.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/0.2591, allocations: 439.2 kB / 343.2 MB, free: 25.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.2594, allocations: 12 kB / 343.2 MB, free: 25.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.2601, allocations: 31.89 kB / 343.2 MB, free: 25.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.2602, allocations: 67.81 kB / 343.3 MB, free: 25.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.2603, allocations: 39.98 kB / 343.3 MB, free: 24.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001987/0.2623, allocations: 1.92 MB / 345.2 MB, free: 23.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2623, allocations: 0 / 345.2 MB, free: 23.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001199/0.2635, allocations: 0.5853 MB / 345.8 MB, free: 22.46 MB / 282.7 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.0009175/0.2644, allocations: 0.8413 MB / 346.7 MB, free: 21.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.2658, allocations: 0.7791 MB / 347.4 MB, free: 20.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2658, allocations: 0 / 347.4 MB, free: 20.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.2664, allocations: 419.1 kB / 347.9 MB, free: 20.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.2682, allocations: 0.546 MB / 348.4 MB, free: 19.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.2726, allocations: 4.431 MB / 352.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.2732, allocations: 1.121 MB / 354 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008073/0.2741, allocations: 359.7 kB / 354.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.2742, allocations: 148.5 kB / 354.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2742, allocations: 0 / 354.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of Templates: time 0.05568/0.3299, allocations: 32.58 MB / 387 MB, free: 13.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.563026104005985]