Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.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.001631/0.001631, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001666/0.001666, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.471/1.471, allocations: 230.4 MB / 255.4 MB, free: 15 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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters") [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.001856/0.001856, allocations: 63.89 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09779, allocations: 53.31 MB / 428 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.2027/0.3005, allocations: 26.81 MB / 454.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03208/0.3326, allocations: 22.43 MB / 477.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00665/0.3392, allocations: 174.2 kB / 477.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005992/0.3452, allocations: 1.78 MB / 479.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01382/0.359, allocations: 3.259 MB / 482.5 MB, free: 5.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006778/0.3658, allocations: 1.628 MB / 484.1 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02201/0.3878, allocations: 12.87 MB / 497 MB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.3892, allocations: 0.5078 MB / 497.5 MB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003923/0.3931, allocations: 2.115 MB / 499.6 MB, free: 8.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.397, allocations: 2.1 MB / 0.49 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006733/0.3976, allocations: 132 kB / 0.4901 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005887/0.4035, allocations: 1.537 MB / 0.4916 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.4046, allocations: 0.601 MB / 0.4922 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004695/0.4093, allocations: 2.62 MB / 0.4947 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.422, allocations: 6.671 MB / 0.5012 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.422, allocations: 0 / 0.5012 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.422, allocations: 4 kB / 0.5012 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001821/0.4222, allocations: 0 / 0.5012 GB, free: 11.2 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01122/0.4334, allocations: 6.939 MB / 0.508 GB, free: 4.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4335, allocations: 8.031 kB / 0.508 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.4346, allocations: 0.7764 MB / 0.5088 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007426/0.442, allocations: 4.656 MB / 0.5133 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/0.4421, allocations: 69.94 kB / 0.5134 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.4424, allocations: 99.91 kB / 0.5135 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.4449, allocations: 1.313 MB / 0.5148 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4449, allocations: 0 / 0.5148 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.445, allocations: 32.56 kB / 0.5148 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.4451, allocations: 39.97 kB / 0.5148 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.4478, allocations: 1.484 MB / 0.5163 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.4583, allocations: 5.617 MB / 0.5218 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.46, allocations: 0.8757 MB / 0.5226 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.4616, allocations: 1.051 MB / 0.5237 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06301/0.5247, allocations: 61.07 MB / 0.5833 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.5258, allocations: 0.5521 MB / 0.5838 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=85): time 3.307e-06/0.5258, allocations: 3.938 kB / 0.5838 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85): time 0.003779/0.5295, allocations: 1.914 MB / 0.5857 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.5296, allocations: 63.95 kB / 0.5858 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007732/0.5373, allocations: 5.598 MB / 0.5912 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.5375, allocations: 37.7 kB / 0.5913 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002801/0.5403, allocations: 2.965 MB / 0.5942 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/0.5407, allocations: 305.5 kB / 0.5945 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/0.5413, allocations: 431 kB / 0.5949 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5414, allocations: 301.1 kB / 0.5952 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/0.5423, allocations: 403.8 kB / 0.5955 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.5438, allocations: 1.095 MB / 0.5966 GB, free: 404 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.5462, allocations: 1.615 MB / 0.5982 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.5462, allocations: 4 kB / 0.5982 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00394/0.5502, allocations: 2.242 MB / 0.6004 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.5502, allocations: 19.98 kB / 0.6004 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002132/0.5504, allocations: 160 kB / 0.6006 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/0.5505, allocations: 35.94 kB / 0.6006 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.5517, allocations: 359.7 kB / 0.6009 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.877e-05/0.5517, allocations: 55.78 kB / 0.601 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5536, allocations: 182.7 kB / 0.6012 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.5538, allocations: 128 kB / 0.6013 GB, free: 11.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001377/0.5551, allocations: 0.7082 MB / 0.602 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009437/0.5561, allocations: 0.7531 MB / 0.6027 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/0.5608, allocations: 2.155 MB / 0.6048 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5608, allocations: 8 kB / 0.6048 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5608, allocations: 0.5625 kB / 0.6048 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5608, allocations: 7.984 kB / 0.6048 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.5667, allocations: 3.607 MB / 0.6084 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001902/0.5669, allocations: 140 kB / 0.6085 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007892/0.5677, allocations: 152.6 kB / 0.6086 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/0.5677, allocations: 4 kB / 0.6086 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.5678, allocations: 63.98 kB / 0.6087 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.5678, allocations: 8.062 kB / 0.6087 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5679, allocations: 0 / 0.6087 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.5717, allocations: 2.189 MB / 0.6108 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.5732, allocations: 0.8553 MB / 0.6117 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/0.5737, allocations: 19.8 kB / 0.6117 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.5747, allocations: 35.97 kB / 0.6117 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.575, allocations: 96.48 kB / 0.6118 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.5751, allocations: 71.98 kB / 0.6119 GB, free: 280 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005452/0.5806, allocations: 3.604 MB / 0.6154 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5806, allocations: 0 / 0.6154 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002551/0.5831, allocations: 1.088 MB / 0.6165 GB, free: 11.61 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001838/0.5849, allocations: 1.186 MB / 0.6176 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.5875, allocations: 1.373 MB / 0.619 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5876, allocations: 0 / 0.619 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.5887, allocations: 0.7314 MB / 0.6197 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004832/0.5936, allocations: 1.207 MB / 0.6209 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1939/0.7875, allocations: 8.365 MB / 0.629 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.7895, allocations: 2.592 MB / 0.6316 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/0.7901, allocations: 291.4 kB / 0.6318 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/0.7901, allocations: 0 / 0.6318 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.09052/0.8807, allocations: 70.98 MB / 0.7012 GB, free: 135.7 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.FourInverters.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: 14.362788496073335]