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.009676/0.009676, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.002235/0.002235, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.485/1.485, allocations: 230.6 MB / 259 MB, free: 8.051 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.001997/0.001997, allocations: 59.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2376, allocations: 53.38 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02659/0.2642, allocations: 26.81 MB / 460 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0313/0.2955, allocations: 22.45 MB / 482.4 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005282/0.3008, allocations: 273.1 kB / 482.7 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005391/0.3062, allocations: 1.781 MB / 484.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01217/0.3184, allocations: 3.326 MB / 487.8 MB, free: 96 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006061/0.3244, allocations: 1.644 MB / 489.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02164/0.3461, allocations: 12.9 MB / 0.4906 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.3475, allocations: 0.5082 MB / 0.4911 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.352, allocations: 2.189 MB / 0.4932 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.3563, allocations: 2.103 MB / 0.4953 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007123/0.357, allocations: 136 kB / 0.4954 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.363, allocations: 1.533 MB / 0.4969 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.3641, allocations: 0.601 MB / 0.4975 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004558/0.3687, allocations: 2.624 MB / 0.5 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.381, allocations: 6.667 MB / 0.5066 GB, free: 1.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.381, allocations: 0 / 0.5066 GB, free: 1.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.381, allocations: 0 / 0.5066 GB, free: 1.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002434/0.3813, allocations: 4 kB / 0.5066 GB, free: 1.031 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.01179/0.3931, allocations: 6.859 MB / 0.5133 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3931, allocations: 8.031 kB / 0.5133 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.3943, allocations: 0.7764 MB / 0.514 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008477/0.4028, allocations: 4.379 MB / 0.5183 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.4029, allocations: 66 kB / 0.5184 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.4032, allocations: 99.91 kB / 0.5185 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.4056, allocations: 1.316 MB / 0.5197 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4056, allocations: 0 / 0.5197 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.4057, allocations: 36 kB / 0.5198 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.4058, allocations: 39.97 kB / 0.5198 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.4084, allocations: 1.492 MB / 0.5213 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.4193, allocations: 5.564 MB / 0.5267 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.4211, allocations: 0.8727 MB / 0.5276 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.4227, allocations: 1.063 MB / 0.5286 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2677/0.6904, allocations: 27.16 MB / 0.5551 GB, free: 95.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009034/0.6913, allocations: 0.5607 MB / 0.5557 GB, free: 95.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.717e-06/0.6913, allocations: 0 / 0.5557 GB, free: 95.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002854/0.6942, allocations: 1.907 MB / 0.5575 GB, free: 94.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.6942, allocations: 71.89 kB / 0.5576 GB, free: 94.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/0.6996, allocations: 5.585 MB / 0.5631 GB, free: 88.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.6998, allocations: 45.64 kB / 0.5631 GB, free: 88.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001693/0.7015, allocations: 2.969 MB / 0.566 GB, free: 85.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.7018, allocations: 307.5 kB / 0.5663 GB, free: 85.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/0.7022, allocations: 431 kB / 0.5667 GB, free: 84.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.7022, allocations: 301.1 kB / 0.567 GB, free: 84.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007642/0.703, allocations: 406.9 kB / 0.5674 GB, free: 84.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.7039, allocations: 1.087 MB / 0.5684 GB, free: 82.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.7056, allocations: 1.616 MB / 0.57 GB, free: 80.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.7056, allocations: 4 kB / 0.57 GB, free: 80.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003103/0.7087, allocations: 2.246 MB / 0.5722 GB, free: 78.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.7088, allocations: 16 kB / 0.5722 GB, free: 78.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001768/0.7089, allocations: 160 kB / 0.5724 GB, free: 78.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.019e-05/0.709, allocations: 36 kB / 0.5724 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.71, allocations: 355 kB / 0.5728 GB, free: 78.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.863e-05/0.71, allocations: 47.8 kB / 0.5728 GB, free: 78.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.712, allocations: 190.1 kB / 0.573 GB, free: 77.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.7122, allocations: 128 kB / 0.5731 GB, free: 77.84 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.001425/0.7136, allocations: 0.7091 MB / 0.5738 GB, free: 77.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000926/0.7145, allocations: 0.753 MB / 0.5745 GB, free: 76.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.7184, allocations: 2.156 MB / 0.5766 GB, free: 74.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.7184, allocations: 8 kB / 0.5766 GB, free: 74.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7184, allocations: 4 kB / 0.5766 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7184, allocations: 6.359 kB / 0.5767 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004847/0.7233, allocations: 3.588 MB / 0.5802 GB, free: 70.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001512/0.7234, allocations: 136 kB / 0.5803 GB, free: 70.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.7241, allocations: 151.9 kB / 0.5804 GB, free: 70.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.7241, allocations: 4 kB / 0.5804 GB, free: 70.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.7242, allocations: 63.98 kB / 0.5805 GB, free: 70.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.7242, allocations: 4 kB / 0.5805 GB, free: 70.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7242, allocations: 3.938 kB / 0.5805 GB, free: 70.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.7271, allocations: 2.186 MB / 0.5826 GB, free: 68.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.7283, allocations: 0.7781 MB / 0.5834 GB, free: 67.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/0.7288, allocations: 16 kB / 0.5834 GB, free: 67.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.73, allocations: 35.97 kB / 0.5834 GB, free: 67.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.7302, allocations: 96.55 kB / 0.5835 GB, free: 67.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.7303, allocations: 71.98 kB / 0.5836 GB, free: 67.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004136/0.7344, allocations: 3.604 MB / 0.5871 GB, free: 63.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7344, allocations: 0 / 0.5871 GB, free: 63.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002375/0.7368, allocations: 1.082 MB / 0.5882 GB, free: 62.46 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.001499/0.7383, allocations: 1.196 MB / 0.5894 GB, free: 61.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.7404, allocations: 1.366 MB / 0.5907 GB, free: 59.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.7404, allocations: 0 / 0.5907 GB, free: 59.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008997/0.7413, allocations: 0.7405 MB / 0.5914 GB, free: 59.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/0.746, allocations: 1.173 MB / 0.5926 GB, free: 57.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.7564, allocations: 8.367 MB / 0.6007 GB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.7578, allocations: 2.588 MB / 0.6033 GB, free: 46.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006985/0.7585, allocations: 295.4 kB / 0.6035 GB, free: 46.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.074e-06/0.7585, allocations: 4 kB / 0.6035 GB, free: 46.64 MB / 446.1 MB Notification: Performance of Templates: time 0.0973/0.8558, allocations: 70.89 MB / 0.6728 GB, free: 8.07 MB / 478.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/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-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: 15.173679855186492]