Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001682/0.001682, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002095/0.002095, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 67.89 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2886, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02968/0.3183, allocations: 26.81 MB / 459.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03337/0.3517, allocations: 22.44 MB / 481.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005929/0.3576, allocations: 269.1 kB / 482 MB, free: 5.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006002/0.3636, allocations: 1.781 MB / 483.7 MB, free: 3.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.3765, allocations: 3.329 MB / 487.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006444/0.383, allocations: 1.644 MB / 488.7 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02383/0.4068, allocations: 12.92 MB / 0.4899 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.4087, allocations: 0.5043 MB / 0.4904 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.413, allocations: 2.186 MB / 0.4925 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004322/0.4173, allocations: 2.107 MB / 0.4946 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007806/0.4181, allocations: 132 kB / 0.4947 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/0.424, allocations: 1.537 MB / 0.4962 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.4251, allocations: 0.5971 MB / 0.4968 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004126/0.4293, allocations: 2.627 MB / 0.4993 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4417, allocations: 6.671 MB / 0.5059 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.4417, allocations: 4 kB / 0.5059 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4417, allocations: 0 / 0.5059 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002557/0.442, allocations: 0 / 0.5059 GB, free: 0.8203 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.01175/0.4538, allocations: 6.859 MB / 0.5126 GB, free: 9.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4538, allocations: 8.031 kB / 0.5126 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.4548, allocations: 0.7764 MB / 0.5133 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008239/0.4631, allocations: 4.371 MB / 0.5176 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.4631, allocations: 69.98 kB / 0.5177 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.4634, allocations: 99.91 kB / 0.5178 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.4658, allocations: 1.313 MB / 0.519 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.4658, allocations: 0 / 0.519 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.4659, allocations: 36 kB / 0.5191 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.466, allocations: 39.97 kB / 0.5191 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.4686, allocations: 1.488 MB / 0.5206 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.4802, allocations: 5.568 MB / 0.526 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.482, allocations: 0.8718 MB / 0.5269 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.4835, allocations: 1.059 MB / 0.5279 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2713/0.7549, allocations: 27.16 MB / 0.5544 GB, free: 95.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008803/0.7557, allocations: 0.5663 MB / 0.555 GB, free: 95.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 4.238e-06/0.7557, allocations: 0 / 0.555 GB, free: 95.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.003135/0.7589, allocations: 1.914 MB / 0.5568 GB, free: 93.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.7589, allocations: 67.89 kB / 0.5569 GB, free: 93.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006015/0.7649, allocations: 5.585 MB / 0.5623 GB, free: 88.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.7652, allocations: 41.7 kB / 0.5624 GB, free: 88.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.7669, allocations: 2.969 MB / 0.5653 GB, free: 85.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.7673, allocations: 305.8 kB / 0.5656 GB, free: 84.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.7677, allocations: 429.3 kB / 0.566 GB, free: 84.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.7678, allocations: 301.1 kB / 0.5663 GB, free: 84.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/0.7685, allocations: 407.3 kB / 0.5667 GB, free: 83.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008819/0.7694, allocations: 1.091 MB / 0.5677 GB, free: 82.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.771, allocations: 1.615 MB / 0.5693 GB, free: 80.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.771, allocations: 11.98 kB / 0.5693 GB, free: 80.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003239/0.7743, allocations: 2.237 MB / 0.5715 GB, free: 78.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.7743, allocations: 16 kB / 0.5715 GB, free: 78.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/0.7745, allocations: 160 kB / 0.5717 GB, free: 78.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/0.7745, allocations: 35.98 kB / 0.5717 GB, free: 78.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7755, allocations: 363 kB / 0.5721 GB, free: 77.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.988e-05/0.7756, allocations: 45.48 kB / 0.5721 GB, free: 77.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.7776, allocations: 190.1 kB / 0.5723 GB, free: 77.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.7778, allocations: 120 kB / 0.5724 GB, free: 77.38 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.001272/0.7791, allocations: 0.715 MB / 0.5731 GB, free: 76.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009467/0.78, allocations: 0.7564 MB / 0.5738 GB, free: 75.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.7839, allocations: 2.158 MB / 0.5759 GB, free: 73.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.7839, allocations: 8 kB / 0.5759 GB, free: 73.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7839, allocations: 3.938 kB / 0.5759 GB, free: 73.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7839, allocations: 3.984 kB / 0.576 GB, free: 73.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.7892, allocations: 3.584 MB / 0.5795 GB, free: 70.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001425/0.7893, allocations: 136 kB / 0.5796 GB, free: 70 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.79, allocations: 155.8 kB / 0.5797 GB, free: 69.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.79, allocations: 4 kB / 0.5797 GB, free: 69.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/0.7901, allocations: 59.98 kB / 0.5798 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7901, allocations: 6.75 kB / 0.5798 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7901, allocations: 0 / 0.5798 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.793, allocations: 2.194 MB / 0.5819 GB, free: 67.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.7947, allocations: 0.7784 MB / 0.5827 GB, free: 66.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/0.7953, allocations: 23.94 kB / 0.5827 GB, free: 66.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7965, allocations: 27.97 kB / 0.5827 GB, free: 66.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.7967, allocations: 104.5 kB / 0.5828 GB, free: 66.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.7968, allocations: 67.98 kB / 0.5829 GB, free: 66.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00423/0.801, allocations: 3.612 MB / 0.5864 GB, free: 62.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.801, allocations: 0 / 0.5864 GB, free: 62.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002318/0.8034, allocations: 1.082 MB / 0.5875 GB, free: 61.96 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.001378/0.8047, allocations: 1.18 MB / 0.5887 GB, free: 60.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.8068, allocations: 1.362 MB / 0.59 GB, free: 59.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8068, allocations: 256 / 0.59 GB, free: 59.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008603/0.8076, allocations: 0.7397 MB / 0.5907 GB, free: 58.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004779/0.8124, allocations: 1.178 MB / 0.5919 GB, free: 57.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009459/0.8219, allocations: 8.356 MB / 0.6 GB, free: 49.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.8231, allocations: 2.595 MB / 0.6025 GB, free: 46.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/0.8237, allocations: 291.4 kB / 0.6028 GB, free: 46.17 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8237, allocations: 0 / 0.6028 GB, free: 46.17 MB / 446.1 MB Notification: Performance of Templates: time 0.09125/0.9149, allocations: 70.89 MB / 0.6721 GB, free: 7.594 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.711171711795032]