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.001517/0.001517, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001761/0.001761, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.419/1.419, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001949/0.001949, allocations: 75.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.27, allocations: 53.3 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02806/0.298, allocations: 26.83 MB / 458.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0325/0.3305, allocations: 22.44 MB / 481.3 MB, free: 5.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00541/0.336, allocations: 178.5 kB / 481.5 MB, free: 5.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005482/0.3414, allocations: 1.779 MB / 483.3 MB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.3542, allocations: 3.328 MB / 486.6 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006178/0.3604, allocations: 1.64 MB / 488.2 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02126/0.3816, allocations: 12.87 MB / 0.4894 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.3832, allocations: 0.5 MB / 0.4898 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.3871, allocations: 2.111 MB / 0.4919 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00403/0.3912, allocations: 2.107 MB / 0.494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006264/0.3918, allocations: 140 kB / 0.4941 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004953/0.3967, allocations: 1.537 MB / 0.4956 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008138/0.3976, allocations: 0.5932 MB / 0.4962 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003822/0.4014, allocations: 2.62 MB / 0.4987 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.4126, allocations: 6.667 MB / 0.5053 GB, free: 1.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4127, allocations: 0 / 0.5053 GB, free: 1.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4127, allocations: 0 / 0.5053 GB, free: 1.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.4129, allocations: 0 / 0.5053 GB, free: 1.629 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.01245/0.4254, allocations: 6.931 MB / 0.512 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4254, allocations: 12.03 kB / 0.512 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.4266, allocations: 0.7764 MB / 0.5128 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008154/0.4348, allocations: 4.663 MB / 0.5173 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.4348, allocations: 69.94 kB / 0.5174 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/0.4351, allocations: 103.9 kB / 0.5175 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.4376, allocations: 1.297 MB / 0.5188 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.4376, allocations: 0 / 0.5188 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4377, allocations: 43.98 kB / 0.5188 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.4377, allocations: 35.98 kB / 0.5189 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.4404, allocations: 1.48 MB / 0.5203 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.4518, allocations: 5.629 MB / 0.5258 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.4537, allocations: 0.8796 MB / 0.5267 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.4553, allocations: 1.055 MB / 0.5277 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2516/0.7069, allocations: 61.07 MB / 0.5873 GB, free: 54.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008449/0.7077, allocations: 0.5541 MB / 0.5879 GB, free: 54.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.707e-06/0.7077, allocations: 0 / 0.5879 GB, free: 54.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002934/0.7107, allocations: 1.915 MB / 0.5897 GB, free: 52.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.7107, allocations: 59.97 kB / 0.5898 GB, free: 52.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005514/0.7162, allocations: 5.592 MB / 0.5953 GB, free: 47.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.7164, allocations: 37.7 kB / 0.5953 GB, free: 47.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.718, allocations: 2.968 MB / 0.5982 GB, free: 44.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.7183, allocations: 312.7 kB / 0.5985 GB, free: 43.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.7187, allocations: 427 kB / 0.5989 GB, free: 43.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.7188, allocations: 305.1 kB / 0.5992 GB, free: 43.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007119/0.7195, allocations: 404.5 kB / 0.5996 GB, free: 42.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008751/0.7204, allocations: 1.083 MB / 0.6006 GB, free: 41.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.722, allocations: 1.617 MB / 0.6022 GB, free: 39.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.722, allocations: 8 kB / 0.6022 GB, free: 39.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003022/0.725, allocations: 2.234 MB / 0.6044 GB, free: 37.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.7251, allocations: 19.98 kB / 0.6044 GB, free: 37.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/0.7252, allocations: 160 kB / 0.6046 GB, free: 37.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.919e-05/0.7253, allocations: 39.69 kB / 0.6046 GB, free: 37.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7263, allocations: 359.4 kB / 0.6049 GB, free: 36.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/0.7263, allocations: 51.78 kB / 0.605 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.7281, allocations: 188.3 kB / 0.6052 GB, free: 36.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.7283, allocations: 128 kB / 0.6053 GB, free: 36.41 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.001124/0.7294, allocations: 0.7045 MB / 0.606 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007436/0.7302, allocations: 0.7569 MB / 0.6067 GB, free: 34.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.7337, allocations: 2.156 MB / 0.6088 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.7337, allocations: 8 kB / 0.6088 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7337, allocations: 3.938 kB / 0.6088 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7337, allocations: 3.984 kB / 0.6088 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/0.7386, allocations: 3.605 MB / 0.6124 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001455/0.7387, allocations: 140 kB / 0.6125 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.7394, allocations: 151.9 kB / 0.6126 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.7394, allocations: 7.703 kB / 0.6127 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.7395, allocations: 59.98 kB / 0.6127 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7395, allocations: 4 kB / 0.6127 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7395, allocations: 0 / 0.6127 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.7424, allocations: 2.192 MB / 0.6149 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.7439, allocations: 0.8514 MB / 0.6157 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006298/0.7445, allocations: 19.98 kB / 0.6157 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.7455, allocations: 31.97 kB / 0.6157 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.7457, allocations: 96.48 kB / 0.6158 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7458, allocations: 71.98 kB / 0.6159 GB, free: 25.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004168/0.75, allocations: 3.616 MB / 0.6194 GB, free: 21.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.75, allocations: 0 / 0.6194 GB, free: 21.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002294/0.7523, allocations: 1.083 MB / 0.6205 GB, free: 20.88 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.001375/0.7537, allocations: 1.176 MB / 0.6216 GB, free: 19.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.7556, allocations: 1.37 MB / 0.623 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7556, allocations: 0 / 0.623 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.7565, allocations: 0.7356 MB / 0.6237 GB, free: 17.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/0.7611, allocations: 1.204 MB / 0.6249 GB, free: 16.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008941/0.7701, allocations: 8.37 MB / 0.633 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.7713, allocations: 2.591 MB / 0.6356 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.7718, allocations: 295.4 kB / 0.6359 GB, free: 5.031 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7718, allocations: 4 kB / 0.6359 GB, free: 5.027 MB / 446.1 MB Notification: Performance of Templates: time 0.1052/0.877, allocations: 70.99 MB / 0.7052 GB, free: 14.18 MB / 0.5137 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.316919983830303]