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.0007475/0.0007475, allocations: 87.62 kB / 21.44 MB, free: 3.133 MB / 18.57 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.00348/0.00348, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8445/0.8445, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 2.084e-06/2.084e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.435e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002567/0.002591, allocations: 1.499 MB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004682, allocations: 0.838 MB / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.004738, allocations: 0 / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.903e-05/0.004837, allocations: 11.86 kB / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.004927, allocations: 27.78 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.005219, allocations: 55.81 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.005439, allocations: 135.7 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005541, allocations: 15.98 kB / 328.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.00601, allocations: 415.3 kB / 328.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.006139, allocations: 55.81 kB / 328.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.006179, allocations: 12 kB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.006205, allocations: 11.94 kB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.00629, allocations: 67.72 kB / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.183e-05/0.006382, allocations: 51.8 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.00674, allocations: 366.8 kB / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006743, allocations: 0 / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006744, allocations: 0 / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.006751, allocations: 11.98 kB / 329.4 MB, free: 11.88 MB / 298.7 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.0007113/0.007462, allocations: 0.6545 MB / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.007502, allocations: 8.031 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.007576, allocations: 40.7 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.007829, allocations: 212.1 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.007852, allocations: 8.375 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.007877, allocations: 8.375 kB / 330.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.00823, allocations: 241 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.008241, allocations: 192 / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.008269, allocations: 8.359 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.008276, allocations: 3.938 kB / 330.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.00847, allocations: 174.8 kB / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.00907, allocations: 392.2 kB / 331.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.009298, allocations: 189.3 kB / 331.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.009478, allocations: 191.7 kB / 331.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.009492, allocations: 3.938 kB / 331.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.009838, allocations: 329.4 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.00984, allocations: 0 / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008851/0.01073, allocations: 0.697 MB / 332.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.01082, allocations: 170.2 kB / 332.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006116/0.01143, allocations: 0.5169 MB / 333.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.01146, allocations: 29.7 kB / 333.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.01153, allocations: 105 kB / 333.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.01157, allocations: 19.86 kB / 333.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01169, allocations: 89.5 kB / 333.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01181, allocations: 322.8 kB / 333.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.012, allocations: 170.8 kB / 333.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01219, allocations: 199 kB / 334.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.0125, allocations: 359.2 kB / 334.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.0125, allocations: 4 kB / 334.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005629/0.01307, allocations: 0.4952 MB / 334.9 MB, free: 5.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/0.01315, allocations: 130.8 kB / 335.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01316, allocations: 0 / 335.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01317, allocations: 0 / 335.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.225e-05/0.01319, allocations: 7.938 kB / 335.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.0132, allocations: 0 / 335.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.01332, allocations: 11.98 kB / 335.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.01337, allocations: 40 kB / 335.1 MB, free: 5.508 MB / 298.7 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.000313/0.01368, allocations: 370.7 kB / 335.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.01374, allocations: 43.7 kB / 335.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.01384, allocations: 67.08 kB / 335.6 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01384, allocations: 3.938 kB / 335.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01385, allocations: 0 / 335.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01385, allocations: 0 / 335.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009908/0.01484, allocations: 0.8741 MB / 336.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01485, allocations: 0 / 336.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.01486, allocations: 4 kB / 336.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01486, allocations: 0 / 336.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.01489, allocations: 15.97 kB / 336.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01489, allocations: 4 kB / 336.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0149, allocations: 0 / 336.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.01563, allocations: 0.6609 MB / 337.2 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.01598, allocations: 205.4 kB / 337.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.01603, allocations: 12 kB / 337.4 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.01617, allocations: 11.98 kB / 337.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.01628, allocations: 27.97 kB / 337.4 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.01632, allocations: 39.94 kB / 337.5 MB, free: 3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004356/0.01676, allocations: 386.9 kB / 337.8 MB, free: 2.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01676, allocations: 3.938 kB / 337.8 MB, free: 2.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.01707, allocations: 44 kB / 337.9 MB, free: 2.578 MB / 298.7 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.000122/0.0172, allocations: 119 kB / 338 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005793/0.01777, allocations: 0.6046 MB / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01778, allocations: 0 / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.01809, allocations: 428.3 kB / 339 MB, free: 1.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.01865, allocations: 131.3 kB / 339.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.01958, allocations: 0.8215 MB / 340 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.01973, allocations: 197.8 kB / 340.2 MB, free: 44 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.01976, allocations: 16.5 kB / 340.2 MB, free: 24 kB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01976, allocations: 0 / 340.2 MB, free: 24 kB / 298.7 MB Notification: Performance of Templates: time 0.003284/0.02304, allocations: 2.574 MB / 342.8 MB, free: 13.43 MB / 314.7 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: 4.822794748470187]