Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 254.1 MB, free: 15.1 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 51.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1291, allocations: 53.33 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.004034/0.1331, allocations: 1.534 MB / 428.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.1364, allocations: 0.8887 MB / 429.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.1364, allocations: 0 / 429.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1365, allocations: 7.922 kB / 429.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1367, allocations: 19.8 kB / 429.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.137, allocations: 55.86 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.1373, allocations: 135.7 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1374, allocations: 12 kB / 429.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006708/0.1381, allocations: 403.2 kB / 429.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1383, allocations: 71.73 kB / 429.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.1383, allocations: 8 kB / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.339e-05/0.1384, allocations: 12 kB / 429.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1385, allocations: 63.7 kB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1386, allocations: 111.2 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.1391, allocations: 362.4 kB / 430.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1391, allocations: 0 / 430.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1391, allocations: 0 / 430.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1391, allocations: 0 / 430.5 MB, free: 0.6094 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.3106/0.4497, allocations: 0.7351 MB / 431.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.4497, allocations: 9.062 kB / 431.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.4498, allocations: 42.48 kB / 431.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.4502, allocations: 276.9 kB / 431.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.4502, allocations: 5.406 kB / 431.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.4502, allocations: 9.938 kB / 431.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.4506, allocations: 128.2 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4506, allocations: 0 / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.4506, allocations: 7.75 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4506, allocations: 1.844 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.4508, allocations: 58.81 kB / 431.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.4516, allocations: 461 kB / 432.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.4518, allocations: 71.77 kB / 432.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4519, allocations: 64.97 kB / 432.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.4519, allocations: 0 / 432.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.4522, allocations: 206.8 kB / 432.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.4522, allocations: 0.5312 kB / 432.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008577/0.4531, allocations: 469.2 kB / 433 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.4532, allocations: 169.4 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.4538, allocations: 0.5163 MB / 433.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.4538, allocations: 31.8 kB / 433.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.4538, allocations: 101.4 kB / 433.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.4539, allocations: 33.75 kB / 433.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.454, allocations: 85.55 kB / 433.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.4541, allocations: 326.3 kB / 434.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4542, allocations: 56.7 kB / 434.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4543, allocations: 78.73 kB / 434.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.4546, allocations: 346.8 kB / 434.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4546, allocations: 0 / 434.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005086/0.4551, allocations: 375.6 kB / 435.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.4552, allocations: 127.4 kB / 435.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4552, allocations: 0 / 435.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4552, allocations: 1.125 kB / 435.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.28e-05/0.4553, allocations: 7.484 kB / 435.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4553, allocations: 1.188 kB / 435.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.4554, allocations: 13.27 kB / 435.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.4555, allocations: 42.16 kB / 435.2 MB, free: 8.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.000279/0.4557, allocations: 363.6 kB / 435.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.4558, allocations: 39.95 kB / 435.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.4559, allocations: 65.48 kB / 435.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4559, allocations: 0 / 435.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4559, allocations: 1.219 kB / 435.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4559, allocations: 0.8438 kB / 435.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.4568, allocations: 0.8153 MB / 436.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4568, allocations: 0 / 436.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-06/0.4568, allocations: 4.75 kB / 436.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.4568, allocations: 1.812 kB / 436.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.4569, allocations: 16.8 kB / 436.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4569, allocations: 1.5 kB / 436.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4569, allocations: 1.125 kB / 436.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.4576, allocations: 0.5315 MB / 437.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.4579, allocations: 247.6 kB / 437.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.4579, allocations: 16.44 kB / 437.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4581, allocations: 10.02 kB / 437.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.4582, allocations: 27.05 kB / 437.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/0.4583, allocations: 45.66 kB / 437.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005792/0.4589, allocations: 387.5 kB / 437.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4589, allocations: 0 / 437.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.4592, allocations: 49.66 kB / 437.8 MB, free: 7.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * 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.0001929/0.4594, allocations: 122.1 kB / 438 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.46, allocations: 371.7 kB / 438.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.46, allocations: 1.094 kB / 438.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.4603, allocations: 299.7 kB / 438.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.461, allocations: 127.3 kB / 438.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4622, allocations: 0.6591 MB / 439.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4625, allocations: 0.7994 MB / 440.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.728e-05/0.4626, allocations: 9.453 kB / 440.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.4626, allocations: 15.62 kB / 440.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4626, allocations: 1.094 kB / 440.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Templates: time 0.01055/0.4731, allocations: 4.532 MB / 444.8 MB, free: 5.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.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: 5.023999102413654]