Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.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.001319/0.001319, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001402/0.001402, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.405/1.405, allocations: 177.2 MB / 204.9 MB, free: 8.883 MB / 190.1 MB " [Timeout remaining time 179] 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.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_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_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 46.48 kB / 325.5 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08802, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02323/0.1113, allocations: 22.25 MB / 401.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02835/0.1396, allocations: 19.56 MB / 420.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.1432, allocations: 265.1 kB / 420.9 MB, free: 5.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.147, allocations: 1.679 MB / 422.6 MB, free: 3.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00968/0.1567, allocations: 3.315 MB / 425.9 MB, free: 408 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00461/0.1613, allocations: 1.594 MB / 427.5 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01989/0.1812, allocations: 12.94 MB / 440.5 MB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1822, allocations: 0.4887 MB / 441 MB, free: 1.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.1854, allocations: 2.209 MB / 443.2 MB, free: 15.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.1881, allocations: 2.021 MB / 445.2 MB, free: 13.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.1884, allocations: 132 kB / 445.3 MB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.192, allocations: 1.268 MB / 446.6 MB, free: 11.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006328/0.1926, allocations: 0.5932 MB / 447.2 MB, free: 11.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.1947, allocations: 1.929 MB / 449.1 MB, free: 9.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008059/0.2028, allocations: 6.742 MB / 455.9 MB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2028, allocations: 0 / 455.9 MB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2028, allocations: 4 kB / 455.9 MB, free: 2.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.2029, allocations: 0 / 455.9 MB, free: 2.328 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.01036/0.2133, allocations: 6.855 MB / 462.7 MB, free: 11.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2133, allocations: 16.03 kB / 462.7 MB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.2143, allocations: 0.7764 MB / 463.5 MB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007312/0.2216, allocations: 4.375 MB / 467.9 MB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.2217, allocations: 66 kB / 467.9 MB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.2219, allocations: 103.8 kB / 468 MB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.2243, allocations: 1.313 MB / 469.4 MB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2243, allocations: 0 / 469.4 MB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.2245, allocations: 40 kB / 469.4 MB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.2245, allocations: 39.97 kB / 469.4 MB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.2272, allocations: 1.476 MB / 470.9 MB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1944/0.4216, allocations: 5.115 MB / 476 MB, free: 85.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.4233, allocations: 0.8755 MB / 476.9 MB, free: 84.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4247, allocations: 1.064 MB / 478 MB, free: 84.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03849/0.4632, allocations: 27.06 MB / 0.4932 GB, free: 66.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008351/0.464, allocations: 0.5632 MB / 0.4937 GB, free: 66.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.975e-06/0.464, allocations: 0 / 0.4937 GB, free: 66.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.002587/0.4666, allocations: 1.916 MB / 0.4956 GB, free: 64.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.4666, allocations: 60.06 kB / 0.4957 GB, free: 64.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/0.4711, allocations: 5.631 MB / 0.5012 GB, free: 58.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.4711, allocations: 41.7 kB / 0.5012 GB, free: 58.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.4727, allocations: 2.969 MB / 0.5041 GB, free: 55.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.4729, allocations: 314.8 kB / 0.5044 GB, free: 55.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/0.4732, allocations: 423 kB / 0.5048 GB, free: 55.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.984e-05/0.4733, allocations: 309.1 kB / 0.5051 GB, free: 54.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.474, allocations: 403.5 kB / 0.5055 GB, free: 54.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.4748, allocations: 1.09 MB / 0.5066 GB, free: 53.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.4765, allocations: 1.615 MB / 0.5081 GB, free: 51.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4766, allocations: 4 kB / 0.5081 GB, free: 51.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002588/0.4791, allocations: 2.239 MB / 0.5103 GB, free: 48.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4792, allocations: 22.33 kB / 0.5103 GB, free: 48.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/0.4793, allocations: 165.5 kB / 0.5105 GB, free: 48.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.4794, allocations: 32 kB / 0.5105 GB, free: 48.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.4805, allocations: 359.3 kB / 0.5109 GB, free: 48.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/0.4805, allocations: 51.84 kB / 0.5109 GB, free: 48.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.482, allocations: 183.3 kB / 0.5111 GB, free: 48.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4822, allocations: 128 kB / 0.5112 GB, free: 48.11 MB / 430.1 MB 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.0009223/0.4831, allocations: 0.7043 MB / 0.5119 GB, free: 47.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.4835, allocations: 0.7531 MB / 0.5126 GB, free: 46.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.487, allocations: 2.162 MB / 0.5148 GB, free: 44.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.487, allocations: 8 kB / 0.5148 GB, free: 44.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.487, allocations: 0 / 0.5148 GB, free: 44.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.487, allocations: 3.984 kB / 0.5148 GB, free: 44.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.4913, allocations: 3.358 MB / 0.5181 GB, free: 41.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001442/0.4914, allocations: 143.9 kB / 0.5182 GB, free: 40.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/0.4922, allocations: 159.8 kB / 0.5183 GB, free: 40.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4922, allocations: 0 / 0.5183 GB, free: 40.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/0.4922, allocations: 60 kB / 0.5184 GB, free: 40.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4922, allocations: 4 kB / 0.5184 GB, free: 40.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4923, allocations: 0 / 0.5184 GB, free: 40.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.4949, allocations: 2.186 MB / 0.5205 GB, free: 38.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4959, allocations: 0.7911 MB / 0.5213 GB, free: 37.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/0.4963, allocations: 20 kB / 0.5213 GB, free: 37.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.4974, allocations: 35.95 kB / 0.5214 GB, free: 37.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.4976, allocations: 96.5 kB / 0.5215 GB, free: 37.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/0.4977, allocations: 75.55 kB / 0.5215 GB, free: 37.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003224/0.5009, allocations: 3.604 MB / 0.525 GB, free: 33.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5009, allocations: 3.938 kB / 0.5251 GB, free: 33.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001691/0.5026, allocations: 1.086 MB / 0.5261 GB, free: 32.96 MB / 430.1 MB 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.001187/0.5038, allocations: 1.184 MB / 0.5273 GB, free: 31.83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.5056, allocations: 1.37 MB / 0.5286 GB, free: 30.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5056, allocations: 0 / 0.5286 GB, free: 30.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.5065, allocations: 0.7359 MB / 0.5293 GB, free: 29.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/0.5103, allocations: 1.179 MB / 0.5305 GB, free: 28.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/0.5175, allocations: 8.255 MB / 0.5385 GB, free: 20.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.5187, allocations: 2.102 MB / 0.5406 GB, free: 18.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001481/0.5202, allocations: 0.6846 MB / 0.5413 GB, free: 17.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.5205, allocations: 284.5 kB / 0.5415 GB, free: 17.06 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5205, allocations: 0 / 0.5415 GB, free: 17.06 MB / 430.1 MB Notification: Performance of Templates: time 0.09237/0.6129, allocations: 57.89 MB / 0.5981 GB, free: 8.043 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.3117302529281005]