Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.001638/0.001638, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001928/0.001928, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.461/1.461, allocations: 230.5 MB / 258.1 MB, free: 7.98 MB / 206.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.InvertersExtendedModel,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.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,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.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.14 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2501, allocations: 53.41 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01633/0.2664, allocations: 15.36 MB / 447.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02662/0.293, allocations: 20.88 MB / 468.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.2959, allocations: 130.6 kB / 468.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.2996, allocations: 1.274 MB / 470.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00886/0.3085, allocations: 2.421 MB / 472.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005495/0.314, allocations: 1.457 MB / 474 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.3255, allocations: 6.727 MB / 480.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007772/0.3263, allocations: 278.2 kB / 481 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.3282, allocations: 1.182 MB / 482.1 MB, free: 4.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.3299, allocations: 1.145 MB / 483.3 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.3301, allocations: 72 kB / 483.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.3342, allocations: 1.483 MB / 484.8 MB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.3347, allocations: 333.5 kB / 485.2 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.3365, allocations: 1.432 MB / 486.6 MB, free: 364 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.343, allocations: 4.009 MB / 490.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.343, allocations: 0 / 490.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.343, allocations: 0 / 490.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.519e-05/0.343, allocations: 0 / 490.6 MB, free: 12.33 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.006337/0.3494, allocations: 3.89 MB / 494.5 MB, free: 8.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3494, allocations: 16.03 kB / 494.5 MB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005415/0.35, allocations: 429.3 kB / 494.9 MB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.354, allocations: 2.341 MB / 497.3 MB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.3541, allocations: 40.98 kB / 497.3 MB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.3542, allocations: 55.95 kB / 497.4 MB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3556, allocations: 0.7304 MB / 498.1 MB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3556, allocations: 4 kB / 498.1 MB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.3557, allocations: 20 kB / 498.1 MB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.3557, allocations: 19.98 kB / 498.1 MB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.3574, allocations: 0.8163 MB / 498.9 MB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005852/0.3632, allocations: 3.05 MB / 0.4902 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.3644, allocations: 0.5242 MB / 0.4907 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.3654, allocations: 0.573 MB / 0.4913 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02733/0.3927, allocations: 13.79 MB / 0.5048 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008348/0.3936, allocations: 361.6 kB / 0.5051 GB, free: 1.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.3936, allocations: 4 kB / 0.5051 GB, free: 1.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002491/0.3961, allocations: 1.13 MB / 0.5062 GB, free: 15.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.3961, allocations: 63.39 kB / 0.5063 GB, free: 15.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/0.401, allocations: 3.083 MB / 0.5093 GB, free: 12.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/0.4011, allocations: 37.7 kB / 0.5093 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.403, allocations: 1.585 MB / 0.5109 GB, free: 11.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.4033, allocations: 178.5 kB / 0.511 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/0.4038, allocations: 234.4 kB / 0.5113 GB, free: 10.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.404, allocations: 334 kB / 0.5116 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/0.405, allocations: 241.8 kB / 0.5118 GB, free: 10.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4064, allocations: 0.6018 MB / 0.5124 GB, free: 9.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.409, allocations: 0.9013 MB / 0.5133 GB, free: 8.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.409, allocations: 11.88 kB / 0.5133 GB, free: 8.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004256/0.4132, allocations: 1.262 MB / 0.5145 GB, free: 7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.4133, allocations: 12 kB / 0.5145 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/0.4135, allocations: 80 kB / 0.5146 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/0.4135, allocations: 16 kB / 0.5146 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4148, allocations: 212.3 kB / 0.5148 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.673e-05/0.4148, allocations: 23.92 kB / 0.5149 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.417, allocations: 111.3 kB / 0.515 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.4172, allocations: 64 kB / 0.515 GB, free: 6.492 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.001409/0.4186, allocations: 460.4 kB / 0.5155 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009464/0.4195, allocations: 421.3 kB / 0.5159 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/0.4239, allocations: 1.199 MB / 0.517 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.424, allocations: 15.92 kB / 0.5171 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.424, allocations: 0 / 0.5171 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.424, allocations: 0 / 0.5171 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/0.4295, allocations: 2.122 MB / 0.5191 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001548/0.4297, allocations: 75.98 kB / 0.5192 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/0.4304, allocations: 91.86 kB / 0.5193 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4304, allocations: 0 / 0.5193 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.4305, allocations: 28 kB / 0.5193 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4305, allocations: 4 kB / 0.5193 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4305, allocations: 0 / 0.5193 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.4342, allocations: 1.347 MB / 0.5206 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.4355, allocations: 443.1 kB / 0.5211 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/0.436, allocations: 12 kB / 0.5211 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.4372, allocations: 31.95 kB / 0.5211 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.4374, allocations: 71.86 kB / 0.5212 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.4376, allocations: 43.98 kB / 0.5212 GB, free: 60 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004761/0.4423, allocations: 2.007 MB / 0.5232 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4423, allocations: 0 / 0.5232 GB, free: 14.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002586/0.4449, allocations: 0.6008 MB / 0.5238 GB, free: 13.45 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.001732/0.4466, allocations: 0.7806 MB / 0.5245 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.4491, allocations: 0.7713 MB / 0.5253 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4491, allocations: 0 / 0.5253 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.4502, allocations: 426.9 kB / 0.5257 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/0.4542, allocations: 0.6358 MB / 0.5263 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.4653, allocations: 4.657 MB / 0.5308 GB, free: 6.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.4674, allocations: 1.718 MB / 0.5325 GB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/0.468, allocations: 151.4 kB / 0.5327 GB, free: 4.184 MB / 446.1 MB Notification: Performance of SimCode: time 1.123e-06/0.468, allocations: 0 / 0.5327 GB, free: 4.184 MB / 446.1 MB Notification: Performance of Templates: time 0.2551/0.723, allocations: 38.82 MB / 0.5706 GB, free: 77.61 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.459328972967342]