Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 55.92 kB / 347.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2429, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02095/0.2639, allocations: 25.45 MB / 422.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03194/0.2958, allocations: 21.4 MB / 443.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007141/0.3029, allocations: 277 kB / 443.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005351/0.3083, allocations: 1.75 MB / 445.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.3202, allocations: 3.27 MB / 448.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005144/0.3253, allocations: 1.589 MB / 450.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02031/0.3456, allocations: 12.46 MB / 463 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.3471, allocations: 0.5161 MB / 463.5 MB, free: 460 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.3506, allocations: 2.003 MB / 465.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/0.3542, allocations: 2.053 MB / 467.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000611/0.3549, allocations: 136 kB / 467.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/0.36, allocations: 1.222 MB / 468.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.361, allocations: 0.601 MB / 469.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003564/0.3646, allocations: 2.643 MB / 472.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.3779, allocations: 6.706 MB / 478.9 MB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.378, allocations: 4 kB / 478.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.378, allocations: 0 / 478.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002441/0.3782, allocations: 8 kB / 478.9 MB, free: 1 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01181/0.39, allocations: 6.89 MB / 485.8 MB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3901, allocations: 19.98 kB / 485.8 MB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3912, allocations: 0.7841 MB / 486.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008225/0.3994, allocations: 4.411 MB / 491 MB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.709e-05/0.3995, allocations: 66 kB / 491.1 MB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.3998, allocations: 95.95 kB / 491.1 MB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.4023, allocations: 1.309 MB / 492.5 MB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.4024, allocations: 7.922 kB / 492.5 MB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.4025, allocations: 36 kB / 492.5 MB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.4025, allocations: 43.91 kB / 492.5 MB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.4053, allocations: 1.496 MB / 494 MB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.418, allocations: 5.577 MB / 499.6 MB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.4199, allocations: 0.8679 MB / 0.4888 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.4215, allocations: 1.067 MB / 0.4898 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04957/0.4711, allocations: 27.22 MB / 0.5164 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.4722, allocations: 0.5567 MB / 0.5169 GB, free: 13.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.266e-06/0.4722, allocations: 0 / 0.5169 GB, free: 13.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.003714/0.4759, allocations: 1.915 MB / 0.5188 GB, free: 11.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.476, allocations: 64.06 kB / 0.5189 GB, free: 11.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007668/0.4836, allocations: 5.632 MB / 0.5244 GB, free: 5.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.4838, allocations: 45.69 kB / 0.5244 GB, free: 5.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002847/0.4867, allocations: 2.953 MB / 0.5273 GB, free: 2.859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.4871, allocations: 313.4 kB / 0.5276 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005717/0.4876, allocations: 423 kB / 0.528 GB, free: 2.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4878, allocations: 313.1 kB / 0.5283 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008825/0.4887, allocations: 399.8 kB / 0.5287 GB, free: 1.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.49, allocations: 1.095 MB / 0.5297 GB, free: 4 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.4925, allocations: 1.615 MB / 0.5313 GB, free: 14.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4925, allocations: 4 kB / 0.5313 GB, free: 14.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003886/0.4964, allocations: 2.246 MB / 0.5335 GB, free: 11.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4964, allocations: 16 kB / 0.5335 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002322/0.4966, allocations: 160 kB / 0.5337 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.354e-05/0.4967, allocations: 32 kB / 0.5337 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4978, allocations: 359.5 kB / 0.534 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.236e-05/0.4979, allocations: 51.84 kB / 0.5341 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4996, allocations: 198.6 kB / 0.5343 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.4998, allocations: 128 kB / 0.5344 GB, free: 10.88 MB / 462.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.001367/0.5012, allocations: 0.7121 MB / 0.5351 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000831/0.502, allocations: 0.757 MB / 0.5358 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.5064, allocations: 2.167 MB / 0.538 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5064, allocations: 8 kB / 0.538 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5064, allocations: 3.984 kB / 0.538 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5064, allocations: 3.938 kB / 0.538 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005878/0.5123, allocations: 3.6 MB / 0.5415 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002646/0.5126, allocations: 140 kB / 0.5416 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.5133, allocations: 159.8 kB / 0.5418 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.5133, allocations: 0 / 0.5418 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.5134, allocations: 63.92 kB / 0.5418 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.5134, allocations: 4 kB / 0.5418 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5134, allocations: 7.938 kB / 0.5418 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.5171, allocations: 2.198 MB / 0.544 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.5186, allocations: 0.7858 MB / 0.5448 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/0.5191, allocations: 23.88 kB / 0.5448 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.5202, allocations: 31.97 kB / 0.5448 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.5204, allocations: 100.6 kB / 0.5449 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.5206, allocations: 67.92 kB / 0.545 GB, free: 15.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005265/0.5258, allocations: 3.637 MB / 0.5485 GB, free: 12.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5258, allocations: 0 / 0.5485 GB, free: 12.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002468/0.5283, allocations: 1.096 MB / 0.5496 GB, free: 11.21 MB / 478.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.001818/0.5301, allocations: 1.19 MB / 0.5508 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.5328, allocations: 1.363 MB / 0.5521 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5328, allocations: 0 / 0.5521 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.5339, allocations: 0.7438 MB / 0.5528 GB, free: 7.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/0.5375, allocations: 0.9841 MB / 0.5538 GB, free: 6.828 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2116/0.7491, allocations: 8.306 MB / 0.5619 GB, free: 150.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/0.7521, allocations: 2.603 MB / 0.5644 GB, free: 149.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002532/0.7546, allocations: 0.6883 MB / 0.5651 GB, free: 149.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.7552, allocations: 283.8 kB / 0.5654 GB, free: 149.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7552, allocations: 0 / 0.5654 GB, free: 149.2 MB / 478.1 MB Notification: Performance of Templates: time 0.09126/0.8464, allocations: 56.89 MB / 0.6209 GB, free: 104.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.674950182437897]