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.00131/0.00131, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001391/0.001391, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.436/1.436, allocations: 177.1 MB / 204.7 MB, free: 8.938 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.002008/0.002008, allocations: 58.2 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09403, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01442/0.1085, allocations: 12.4 MB / 391.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02381/0.1323, allocations: 17.9 MB / 409.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.1339, allocations: 134.6 kB / 409.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.1367, allocations: 1.133 MB / 410.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006311/0.143, allocations: 2.348 MB / 412.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.1469, allocations: 1.418 MB / 414.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009888/0.1568, allocations: 6.627 MB / 420.9 MB, free: 5.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.1573, allocations: 269.8 kB / 421.1 MB, free: 5.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.1588, allocations: 1.159 MB / 422.3 MB, free: 3.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.1602, allocations: 1.059 MB / 423.4 MB, free: 2.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.1604, allocations: 79.94 kB / 423.4 MB, free: 2.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.1634, allocations: 1.198 MB / 424.6 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.1638, allocations: 329.6 kB / 424.9 MB, free: 1.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.1648, allocations: 1.013 MB / 426 MB, free: 168 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004342/0.1692, allocations: 3.83 MB / 429.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1692, allocations: 0 / 429.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1692, allocations: 0 / 429.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.022e-05/0.1692, allocations: 0 / 429.8 MB, free: 12.32 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.005165/0.1744, allocations: 3.73 MB / 433.5 MB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1744, allocations: 15.98 kB / 433.5 MB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.1749, allocations: 413.4 kB / 433.9 MB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.1785, allocations: 2.295 MB / 436.2 MB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.1785, allocations: 40.94 kB / 436.3 MB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.1787, allocations: 52 kB / 436.3 MB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1801, allocations: 0.7382 MB / 437.1 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1801, allocations: 0 / 437.1 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.1801, allocations: 16 kB / 437.1 MB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.1802, allocations: 19.98 kB / 437.1 MB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.1818, allocations: 0.8202 MB / 437.9 MB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.1869, allocations: 2.754 MB / 440.7 MB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.1881, allocations: 0.5164 MB / 441.2 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1891, allocations: 0.5653 MB / 441.8 MB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02541/0.2145, allocations: 13.72 MB / 455.5 MB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007984/0.2153, allocations: 374 kB / 455.8 MB, free: 1.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.284e-06/0.2153, allocations: 0 / 455.8 MB, free: 1.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002429/0.2177, allocations: 1.104 MB / 456.9 MB, free: 0.5234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2178, allocations: 59.41 kB / 457 MB, free: 464 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.2215, allocations: 2.954 MB / 460 MB, free: 13.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.2216, allocations: 37.7 kB / 460 MB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.223, allocations: 1.495 MB / 461.5 MB, free: 11.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.2232, allocations: 174.6 kB / 461.7 MB, free: 11.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.2235, allocations: 230.3 kB / 461.9 MB, free: 11.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2236, allocations: 341.9 kB / 462.2 MB, free: 11.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.2243, allocations: 245.8 kB / 462.5 MB, free: 10.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/0.2252, allocations: 0.5979 MB / 463.1 MB, free: 10.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.2268, allocations: 0.8945 MB / 463.9 MB, free: 9.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.2268, allocations: 7.984 kB / 464 MB, free: 9.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002317/0.2291, allocations: 1.247 MB / 465.2 MB, free: 7.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2291, allocations: 9 kB / 465.2 MB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.2292, allocations: 84 kB / 465.3 MB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.2293, allocations: 24 kB / 465.3 MB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.23, allocations: 199.7 kB / 465.5 MB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/0.23, allocations: 27.86 kB / 465.5 MB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.231, allocations: 115.2 kB / 465.7 MB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.2311, allocations: 64 kB / 465.7 MB, free: 7.344 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.0007312/0.2318, allocations: 439.5 kB / 466.1 MB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/0.2322, allocations: 409.4 kB / 466.5 MB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.2349, allocations: 1.183 MB / 467.7 MB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2349, allocations: 7.984 kB / 467.7 MB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2349, allocations: 0 / 467.7 MB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.2349, allocations: 4 kB / 467.7 MB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.2383, allocations: 1.936 MB / 469.7 MB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001076/0.2384, allocations: 76.02 kB / 469.7 MB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.2389, allocations: 91.86 kB / 469.8 MB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.239, allocations: 4 kB / 469.8 MB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.239, allocations: 35.98 kB / 469.9 MB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.239, allocations: 4 kB / 469.9 MB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.239, allocations: 3.938 kB / 469.9 MB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.2415, allocations: 1.312 MB / 471.2 MB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000854/0.2423, allocations: 423.3 kB / 471.6 MB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.2426, allocations: 8 kB / 471.6 MB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.2432, allocations: 31.95 kB / 471.7 MB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.2434, allocations: 59.94 kB / 471.7 MB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/0.2435, allocations: 39.98 kB / 471.7 MB, free: 1.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.1862/0.4297, allocations: 1.9 MB / 473.6 MB, free: 87.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4297, allocations: 0.5 kB / 473.6 MB, free: 87.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002014/0.4317, allocations: 0.5887 MB / 474.2 MB, free: 87.13 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.001237/0.433, allocations: 0.779 MB / 475 MB, free: 87.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.4347, allocations: 0.7734 MB / 475.8 MB, free: 86.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4347, allocations: 0 / 475.8 MB, free: 86.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.4354, allocations: 428 kB / 476.2 MB, free: 86.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.4382, allocations: 0.6135 MB / 476.8 MB, free: 86.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.444, allocations: 4.395 MB / 481.2 MB, free: 84.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.4452, allocations: 1.116 MB / 482.3 MB, free: 84.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.4463, allocations: 356.3 kB / 482.7 MB, free: 84.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.4465, allocations: 155.2 kB / 482.8 MB, free: 84.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4465, allocations: 0 / 482.8 MB, free: 84.52 MB / 430.1 MB Notification: Performance of Templates: time 0.04607/0.4926, allocations: 32.52 MB / 0.5033 GB, free: 58.02 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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/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_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.715238014003262]