Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001542/0.001542, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001625/0.001625, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 79.8 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2786, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01531/0.2939, allocations: 14.78 MB / 446.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02739/0.3213, allocations: 20.78 MB / 467.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.3242, allocations: 87.25 kB / 467.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.3282, allocations: 1.242 MB / 468.9 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009383/0.3376, allocations: 2.369 MB / 471.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005837/0.3434, allocations: 1.452 MB / 472.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.3552, allocations: 6.59 MB / 479.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000729/0.356, allocations: 273.2 kB / 479.6 MB, free: 7.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.358, allocations: 1.104 MB / 480.7 MB, free: 6.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.3598, allocations: 1.11 MB / 481.8 MB, free: 5.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.36, allocations: 76 kB / 481.9 MB, free: 5.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.3642, allocations: 1.479 MB / 483.4 MB, free: 3.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00038/0.3646, allocations: 325.6 kB / 483.7 MB, free: 3.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.3664, allocations: 1.37 MB / 485.1 MB, free: 2.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006449/0.3729, allocations: 3.791 MB / 488.9 MB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3729, allocations: 7.875 kB / 488.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3729, allocations: 0 / 488.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.716e-05/0.373, allocations: 4 kB / 488.9 MB, free: 14.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.006299/0.3792, allocations: 3.809 MB / 492.7 MB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3793, allocations: 8.031 kB / 492.7 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.3798, allocations: 413.4 kB / 493.1 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/0.3838, allocations: 2.449 MB / 495.5 MB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.3838, allocations: 36.94 kB / 495.6 MB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.384, allocations: 56 kB / 495.6 MB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3855, allocations: 0.7265 MB / 496.4 MB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.3855, allocations: 0 / 496.4 MB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.3856, allocations: 23.98 kB / 496.4 MB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.3856, allocations: 19.98 kB / 496.4 MB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.3872, allocations: 0.8202 MB / 497.2 MB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005758/0.393, allocations: 3.063 MB / 0.4886 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.3942, allocations: 0.5126 MB / 0.4891 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000994/0.3952, allocations: 0.5618 MB / 0.4896 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03492/0.4302, allocations: 30.75 MB / 0.5196 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007832/0.4309, allocations: 365.7 kB / 0.52 GB, free: 14.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.515e-06/0.4309, allocations: 0 / 0.52 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002507/0.4334, allocations: 1.103 MB / 0.5211 GB, free: 13.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.4335, allocations: 63.39 kB / 0.5211 GB, free: 13.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.4375, allocations: 2.943 MB / 0.524 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.471e-05/0.4376, allocations: 33.7 kB / 0.524 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.4391, allocations: 1.495 MB / 0.5255 GB, free: 8.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.4393, allocations: 178.6 kB / 0.5257 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.4396, allocations: 226.4 kB / 0.5259 GB, free: 8.117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4398, allocations: 333.9 kB / 0.5262 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.4404, allocations: 249.9 kB / 0.5264 GB, free: 7.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.4413, allocations: 0.602 MB / 0.527 GB, free: 6.762 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.4429, allocations: 0.8935 MB / 0.5279 GB, free: 5.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.4429, allocations: 7.938 kB / 0.5279 GB, free: 5.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002421/0.4453, allocations: 1.236 MB / 0.5291 GB, free: 4.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4454, allocations: 15.98 kB / 0.5291 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.4455, allocations: 80 kB / 0.5292 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.4455, allocations: 20.03 kB / 0.5292 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.4463, allocations: 203.6 kB / 0.5294 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-05/0.4463, allocations: 23.92 kB / 0.5294 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.4474, allocations: 111.3 kB / 0.5295 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.4475, allocations: 64 kB / 0.5296 GB, free: 3.938 MB / 446.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.0007906/0.4483, allocations: 441.4 kB / 0.53 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/0.4487, allocations: 401.5 kB / 0.5304 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.4514, allocations: 1.193 MB / 0.5316 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4514, allocations: 8 kB / 0.5316 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4514, allocations: 3.984 kB / 0.5316 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4514, allocations: 4 kB / 0.5316 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.455, allocations: 2.093 MB / 0.5336 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001012/0.4551, allocations: 68 kB / 0.5337 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.4557, allocations: 99.78 kB / 0.5338 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.4557, allocations: 7.984 kB / 0.5338 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.4557, allocations: 32.06 kB / 0.5338 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.4557, allocations: 4 kB / 0.5338 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4557, allocations: 0 / 0.5338 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.4582, allocations: 1.318 MB / 0.5351 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009446/0.4591, allocations: 494.3 kB / 0.5356 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.4594, allocations: 15.98 kB / 0.5356 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.4601, allocations: 32.03 kB / 0.5356 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.4602, allocations: 63.88 kB / 0.5357 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.4603, allocations: 36 kB / 0.5357 GB, free: 13.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002756/0.4631, allocations: 1.911 MB / 0.5376 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4631, allocations: 0 / 0.5376 GB, free: 11.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001454/0.4645, allocations: 0.5813 MB / 0.5382 GB, free: 11.03 MB / 462.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.001201/0.4657, allocations: 0.7768 MB / 0.5389 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.4674, allocations: 0.7778 MB / 0.5397 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4674, allocations: 0 / 0.5397 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008089/0.4682, allocations: 428.2 kB / 0.5401 GB, free: 8.996 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.4708, allocations: 0.6228 MB / 0.5407 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.4774, allocations: 4.456 MB / 0.5451 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.4786, allocations: 1.668 MB / 0.5467 GB, free: 2.164 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.4789, allocations: 163.4 kB / 0.5468 GB, free: 2.004 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4789, allocations: 0 / 0.5468 GB, free: 2.004 MB / 462.1 MB Notification: Performance of Templates: time 0.2601/0.739, allocations: 37.81 MB / 0.5838 GB, free: 95.05 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.59450278710574]