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.00151/0.00151, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001641/0.001641, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001887/0.001887, allocations: 72.75 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2609, allocations: 53.37 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02644/0.2873, allocations: 26.83 MB / 459.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02994/0.3172, allocations: 22.44 MB / 481.7 MB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006341/0.3236, allocations: 269.1 kB / 481.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005876/0.3294, allocations: 1.789 MB / 483.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.3419, allocations: 3.326 MB / 487 MB, free: 56 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006877/0.3488, allocations: 1.636 MB / 488.7 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02277/0.3716, allocations: 12.91 MB / 0.4898 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.3729, allocations: 0.5121 MB / 0.4903 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/0.3769, allocations: 2.189 MB / 0.4925 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.3805, allocations: 2.1 MB / 0.4945 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000476/0.381, allocations: 136 kB / 0.4947 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004938/0.386, allocations: 1.533 MB / 0.4961 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00093/0.3869, allocations: 0.6049 MB / 0.4967 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003675/0.3906, allocations: 2.624 MB / 0.4993 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.4024, allocations: 6.667 MB / 0.5058 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4024, allocations: 0 / 0.5058 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.4025, allocations: 4 kB / 0.5058 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.4027, allocations: 0 / 0.5058 GB, free: 0.9922 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.01185/0.4146, allocations: 6.855 MB / 0.5125 GB, free: 10.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4146, allocations: 8.031 kB / 0.5125 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.4157, allocations: 0.7803 MB / 0.5133 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008291/0.424, allocations: 4.375 MB / 0.5176 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.4241, allocations: 69.94 kB / 0.5176 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.4243, allocations: 103.9 kB / 0.5177 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.4269, allocations: 1.313 MB / 0.519 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.4269, allocations: 0 / 0.519 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.427, allocations: 43.94 kB / 0.519 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/0.427, allocations: 35.97 kB / 0.5191 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.4297, allocations: 1.488 MB / 0.5205 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.4407, allocations: 5.56 MB / 0.526 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4425, allocations: 0.8757 MB / 0.5268 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.4441, allocations: 1.067 MB / 0.5279 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2445/0.6886, allocations: 27.16 MB / 0.5544 GB, free: 95.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008245/0.6894, allocations: 0.5605 MB / 0.5549 GB, free: 95.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.095e-06/0.6894, allocations: 1.906 kB / 0.5549 GB, free: 95.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002563/0.692, allocations: 1.906 MB / 0.5568 GB, free: 94.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.692, allocations: 63.81 kB / 0.5568 GB, free: 93.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/0.6969, allocations: 5.593 MB / 0.5623 GB, free: 88.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.697, allocations: 37.7 kB / 0.5623 GB, free: 88.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.6986, allocations: 2.966 MB / 0.5652 GB, free: 85.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.6988, allocations: 312 kB / 0.5655 GB, free: 85.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.6992, allocations: 430.8 kB / 0.566 GB, free: 84.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.6992, allocations: 305.1 kB / 0.5662 GB, free: 84.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/0.7, allocations: 407 kB / 0.5666 GB, free: 84.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008814/0.7008, allocations: 1.088 MB / 0.5677 GB, free: 82.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.7025, allocations: 1.607 MB / 0.5693 GB, free: 80.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.7025, allocations: 7.625 kB / 0.5693 GB, free: 80.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002785/0.7053, allocations: 2.248 MB / 0.5715 GB, free: 78.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7053, allocations: 16 kB / 0.5715 GB, free: 78.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/0.7055, allocations: 167.3 kB / 0.5716 GB, free: 78.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/0.7056, allocations: 32 kB / 0.5717 GB, free: 78.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.7066, allocations: 351.4 kB / 0.572 GB, free: 78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/0.7066, allocations: 51.78 kB / 0.5721 GB, free: 77.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.7082, allocations: 191.6 kB / 0.5722 GB, free: 77.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.7083, allocations: 128 kB / 0.5724 GB, free: 77.68 MB / 446.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.001136/0.7095, allocations: 0.7086 MB / 0.5731 GB, free: 76.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/0.71, allocations: 0.753 MB / 0.5738 GB, free: 76.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/0.7137, allocations: 2.156 MB / 0.5759 GB, free: 74.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7137, allocations: 8 kB / 0.5759 GB, free: 74.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7137, allocations: 0 / 0.5759 GB, free: 74.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.7137, allocations: 3.984 kB / 0.5759 GB, free: 74.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004292/0.718, allocations: 3.592 MB / 0.5794 GB, free: 70.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001483/0.7181, allocations: 136 kB / 0.5795 GB, free: 70.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.7188, allocations: 149 kB / 0.5797 GB, free: 70.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.7188, allocations: 4 kB / 0.5797 GB, free: 70.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.7189, allocations: 68.05 kB / 0.5798 GB, free: 70.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.7189, allocations: 7.312 kB / 0.5798 GB, free: 70.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7189, allocations: 3.938 kB / 0.5798 GB, free: 70.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.7216, allocations: 2.186 MB / 0.5819 GB, free: 67.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.7228, allocations: 0.7781 MB / 0.5827 GB, free: 67.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004793/0.7233, allocations: 15.98 kB / 0.5827 GB, free: 67.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.7243, allocations: 35.97 kB / 0.5827 GB, free: 67.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.7245, allocations: 100.5 kB / 0.5828 GB, free: 66.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/0.7246, allocations: 68 kB / 0.5829 GB, free: 66.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003941/0.7285, allocations: 3.604 MB / 0.5864 GB, free: 63.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7285, allocations: 0 / 0.5864 GB, free: 63.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00259/0.7311, allocations: 1.091 MB / 0.5875 GB, free: 62.27 MB / 446.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.00134/0.7324, allocations: 1.189 MB / 0.5886 GB, free: 61.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.7345, allocations: 1.37 MB / 0.59 GB, free: 59.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7346, allocations: 0 / 0.59 GB, free: 59.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000918/0.7355, allocations: 0.7281 MB / 0.5907 GB, free: 58.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/0.7396, allocations: 1.173 MB / 0.5918 GB, free: 57.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008982/0.7486, allocations: 8.26 MB / 0.5999 GB, free: 49.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.7498, allocations: 2.592 MB / 0.6024 GB, free: 46.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001724/0.7516, allocations: 0.6924 MB / 0.6031 GB, free: 46.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.7519, allocations: 283.4 kB / 0.6034 GB, free: 45.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7519, allocations: 0 / 0.6034 GB, free: 45.89 MB / 446.1 MB Notification: Performance of Templates: time 0.08138/0.8332, allocations: 56.64 MB / 0.6587 GB, free: 5.887 MB / 462.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.662014752626419]