Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.001892/0.001892, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002291/0.002291, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 47.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3098, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01483/0.3246, allocations: 12.91 MB / 445.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02508/0.3497, allocations: 17.96 MB / 463.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.3523, allocations: 138.5 kB / 463.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003789/0.3561, allocations: 1.151 MB / 464.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008462/0.3646, allocations: 2.409 MB / 466.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.3694, allocations: 1.414 MB / 468.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.3807, allocations: 6.723 MB / 475 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.3814, allocations: 270.2 kB / 475.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.3835, allocations: 1.194 MB / 476.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.3854, allocations: 1.09 MB / 477.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.3856, allocations: 76 kB / 477.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.3893, allocations: 1.202 MB / 478.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.3898, allocations: 341.4 kB / 479.2 MB, free: 7.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.3914, allocations: 1.048 MB / 480.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006552/0.3979, allocations: 4.044 MB / 484.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3979, allocations: 0 / 484.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3979, allocations: 0 / 484.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.803e-05/0.398, allocations: 4 kB / 484.3 MB, free: 2.551 MB / 382.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.006047/0.4041, allocations: 3.89 MB / 488.2 MB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4041, allocations: 12.03 kB / 488.2 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.4047, allocations: 429.3 kB / 488.6 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/0.4086, allocations: 2.341 MB / 490.9 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.4087, allocations: 40.97 kB / 491 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.4088, allocations: 67.95 kB / 491 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.4103, allocations: 0.7265 MB / 491.8 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4103, allocations: 0 / 491.8 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.4104, allocations: 20 kB / 491.8 MB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.4104, allocations: 19.98 kB / 491.8 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.4121, allocations: 0.828 MB / 492.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.4176, allocations: 2.804 MB / 495.4 MB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.4189, allocations: 0.5125 MB / 496 MB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009889/0.4199, allocations: 0.5652 MB / 496.5 MB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02655/0.4464, allocations: 13.73 MB / 0.4983 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008391/0.4473, allocations: 369.6 kB / 0.4986 GB, free: 7.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.906e-06/0.4473, allocations: 3.938 kB / 0.4986 GB, free: 7.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.00245/0.4497, allocations: 1.13 MB / 0.4997 GB, free: 6.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4498, allocations: 55.41 kB / 0.4998 GB, free: 6.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.454, allocations: 3.106 MB / 0.5028 GB, free: 3.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.454, allocations: 33.7 kB / 0.5029 GB, free: 3.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.4557, allocations: 1.585 MB / 0.5044 GB, free: 1.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.4559, allocations: 178.5 kB / 0.5046 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003372/0.4562, allocations: 230.4 kB / 0.5048 GB, free: 1.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4564, allocations: 341.9 kB / 0.5051 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.457, allocations: 241.9 kB / 0.5054 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.458, allocations: 0.6056 MB / 0.5059 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.4596, allocations: 0.8935 MB / 0.5068 GB, free: 14.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4596, allocations: 4 kB / 0.5068 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002536/0.4621, allocations: 1.274 MB / 0.5081 GB, free: 13.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.4622, allocations: 12.97 kB / 0.5081 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/0.4623, allocations: 83.98 kB / 0.5082 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-05/0.4623, allocations: 20 kB / 0.5082 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.4631, allocations: 195.7 kB / 0.5084 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.702e-05/0.4631, allocations: 27.86 kB / 0.5084 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4642, allocations: 115.3 kB / 0.5085 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.4644, allocations: 67.98 kB / 0.5086 GB, free: 13.02 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.0008831/0.4652, allocations: 453.5 kB / 0.509 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.4658, allocations: 421.3 kB / 0.5094 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.4686, allocations: 1.199 MB / 0.5106 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4686, allocations: 8 kB / 0.5106 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4686, allocations: 0 / 0.5106 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4687, allocations: 4 kB / 0.5106 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.4725, allocations: 1.988 MB / 0.5125 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001105/0.4726, allocations: 72.06 kB / 0.5126 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.4731, allocations: 95.86 kB / 0.5127 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.4731, allocations: 4 kB / 0.5127 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.4732, allocations: 31.98 kB / 0.5127 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4732, allocations: 3.984 kB / 0.5127 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4732, allocations: 4 kB / 0.5127 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.4758, allocations: 1.343 MB / 0.514 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.477, allocations: 447.2 kB / 0.5145 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.4773, allocations: 12 kB / 0.5145 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/0.4781, allocations: 27.97 kB / 0.5145 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4782, allocations: 59.92 kB / 0.5146 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.4783, allocations: 36 kB / 0.5146 GB, free: 6.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003141/0.4814, allocations: 2.01 MB / 0.5166 GB, free: 4.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4814, allocations: 0 / 0.5166 GB, free: 4.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001583/0.483, allocations: 0.6008 MB / 0.5171 GB, free: 4.145 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.001221/0.4842, allocations: 0.7768 MB / 0.5179 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.486, allocations: 0.7783 MB / 0.5187 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.486, allocations: 1.25 kB / 0.5187 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.4868, allocations: 431.1 kB / 0.5191 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.4896, allocations: 0.642 MB / 0.5197 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.4974, allocations: 4.646 MB / 0.5242 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.4987, allocations: 1.166 MB / 0.5254 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.4991, allocations: 155.4 kB / 0.5255 GB, free: 11.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4991, allocations: 0 / 0.5255 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Templates: time 0.2703/0.7694, allocations: 40.39 MB / 0.565 GB, free: 81.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.506174445617944]