Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00182/0.00182, allocations: 78.11 kB / 20.5 MB, free: 1.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002127/0.002127, allocations: 167.5 kB / 23.75 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 177.1 MB / 204 MB, free: 9.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 57.72 kB / 324.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09556, allocations: 53.39 MB / 378.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01432/0.1099, allocations: 12.4 MB / 390.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02505/0.1349, allocations: 17.9 MB / 408.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.1383, allocations: 138.5 kB / 408.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.1418, allocations: 1.133 MB / 409.7 MB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007965/0.1498, allocations: 2.356 MB / 412.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004846/0.1546, allocations: 1.418 MB / 413.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01164/0.1663, allocations: 6.619 MB / 420.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.167, allocations: 273.7 kB / 420.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.1696, allocations: 1.697 MB / 422.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.171, allocations: 1.055 MB / 423.1 MB, free: 2.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1711, allocations: 79.98 kB / 423.2 MB, free: 2.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.1745, allocations: 1.206 MB / 424.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.1748, allocations: 317.7 kB / 424.7 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.176, allocations: 1.013 MB / 425.7 MB, free: 15.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.181, allocations: 3.83 MB / 429.6 MB, free: 12.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.181, allocations: 3.938 kB / 429.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.181, allocations: 3.938 kB / 429.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.523e-05/0.1811, allocations: 0 / 429.6 MB, free: 12.09 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.005487/0.1865, allocations: 3.73 MB / 433.3 MB, free: 8.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1866, allocations: 19.92 kB / 433.3 MB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.187, allocations: 417.4 kB / 433.7 MB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.1905, allocations: 2.288 MB / 436 MB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.1906, allocations: 40.94 kB / 436.1 MB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.1907, allocations: 51.98 kB / 436.1 MB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1921, allocations: 0.7265 MB / 436.8 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1921, allocations: 4 kB / 436.8 MB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.1922, allocations: 20 kB / 436.9 MB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.1922, allocations: 23.98 kB / 436.9 MB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.1938, allocations: 0.8124 MB / 437.7 MB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.1989, allocations: 2.758 MB / 440.4 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.2, allocations: 0.5164 MB / 441 MB, free: 480 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.201, allocations: 0.5652 MB / 441.5 MB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02614/0.2272, allocations: 13.72 MB / 455.3 MB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007623/0.2279, allocations: 358 kB / 455.6 MB, free: 1.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.375e-06/0.2279, allocations: 0 / 455.6 MB, free: 1.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002278/0.2302, allocations: 1.116 MB / 456.7 MB, free: 304 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.2303, allocations: 59.41 kB / 456.8 MB, free: 232 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/0.234, allocations: 2.954 MB / 459.7 MB, free: 13.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.2341, allocations: 37.7 kB / 459.8 MB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.2355, allocations: 1.495 MB / 461.3 MB, free: 11.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.2356, allocations: 174.6 kB / 461.4 MB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.236, allocations: 234.3 kB / 461.7 MB, free: 11.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2361, allocations: 341.9 kB / 462 MB, free: 10.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.2367, allocations: 237.9 kB / 462.2 MB, free: 10.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.2376, allocations: 0.6018 MB / 462.8 MB, free: 9.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.2391, allocations: 0.8983 MB / 463.7 MB, free: 8.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2391, allocations: 4 kB / 463.7 MB, free: 8.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002127/0.2412, allocations: 1.244 MB / 465 MB, free: 7.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2412, allocations: 8 kB / 465 MB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.2414, allocations: 87.98 kB / 465.1 MB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.2414, allocations: 20 kB / 465.1 MB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.2421, allocations: 199.6 kB / 465.3 MB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.2421, allocations: 19.94 kB / 465.3 MB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000889/0.243, allocations: 123.3 kB / 465.4 MB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.2431, allocations: 67.98 kB / 465.5 MB, free: 7.117 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.0006741/0.2438, allocations: 431.5 kB / 465.9 MB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.2442, allocations: 401.4 kB / 466.3 MB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.2468, allocations: 1.202 MB / 467.5 MB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.2468, allocations: 4 kB / 467.5 MB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2468, allocations: 0 / 467.5 MB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2468, allocations: 3.984 kB / 467.5 MB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.2501, allocations: 1.94 MB / 469.5 MB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001064/0.2502, allocations: 68 kB / 469.5 MB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.2507, allocations: 95.84 kB / 469.6 MB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2507, allocations: 4 kB / 469.6 MB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.2508, allocations: 32.06 kB / 469.7 MB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2508, allocations: 4 kB / 469.7 MB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2508, allocations: 0 / 469.7 MB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.2531, allocations: 1.32 MB / 471 MB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007697/0.2539, allocations: 423.2 kB / 471.4 MB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.2542, allocations: 8 kB / 471.4 MB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.2548, allocations: 23.97 kB / 471.4 MB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.255, allocations: 63.92 kB / 471.5 MB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.255, allocations: 36 kB / 471.5 MB, free: 0.9961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.2261/0.4812, allocations: 1.905 MB / 473.4 MB, free: 87.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4812, allocations: 3.75 kB / 473.4 MB, free: 87.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002015/0.4832, allocations: 0.5884 MB / 474 MB, free: 87.87 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.001132/0.4843, allocations: 0.7727 MB / 474.8 MB, free: 87.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.486, allocations: 0.7771 MB / 475.6 MB, free: 87.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.486, allocations: 3.719 kB / 475.6 MB, free: 87.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.4867, allocations: 430.9 kB / 476 MB, free: 87.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.4894, allocations: 0.6169 MB / 476.6 MB, free: 87.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.4964, allocations: 4.393 MB / 481 MB, free: 85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.4977, allocations: 1.112 MB / 482.1 MB, free: 84.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001397/0.4991, allocations: 357 kB / 482.5 MB, free: 84.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.4994, allocations: 150.6 kB / 482.6 MB, free: 84.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4994, allocations: 0 / 482.6 MB, free: 84.71 MB / 430.1 MB Notification: Performance of Templates: time 0.04721/0.5466, allocations: 32.53 MB / 0.5031 GB, free: 58.03 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.934277879074216]