Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.648e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002753/0.002779, allocations: 1.478 MB / 268.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.004992, allocations: 0.8224 MB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.005047, allocations: 4 kB / 269.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.005162, allocations: 7.875 kB / 269.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.702e-05/0.005249, allocations: 15.86 kB / 269.6 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.005534, allocations: 51.81 kB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.00578, allocations: 151.6 kB / 269.8 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.005875, allocations: 12 kB / 269.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.006473, allocations: 419.2 kB / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.006614, allocations: 63.81 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.006656, allocations: 8 kB / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.963e-05/0.006695, allocations: 12 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.0068, allocations: 63.72 kB / 270.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.006908, allocations: 59.72 kB / 270.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.007383, allocations: 358.8 kB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.007387, allocations: 0 / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007388, allocations: 0 / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.007394, allocations: 0 / 270.8 MB, free: 3.188 MB / 250.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.0009005/0.008294, allocations: 0.6514 MB / 271.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.008333, allocations: 12.92 kB / 271.5 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.008441, allocations: 44.7 kB / 271.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.008757, allocations: 224 kB / 271.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.008783, allocations: 8.375 kB / 271.8 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.008812, allocations: 8.375 kB / 271.8 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.009245, allocations: 241 kB / 272 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.009254, allocations: 192 / 272 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.009282, allocations: 4.375 kB / 272 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.00929, allocations: 3.938 kB / 272 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.009542, allocations: 182.7 kB / 272.2 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.01024, allocations: 380.3 kB / 272.6 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.01054, allocations: 197.3 kB / 272.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.01079, allocations: 175.7 kB / 272.9 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.01081, allocations: 7.938 kB / 272.9 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.01133, allocations: 329.5 kB / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 3.967e-06/0.01134, allocations: 3.984 kB / 273.3 MB, free: 488 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001182/0.01252, allocations: 0.7124 MB / 274 MB, free: 15.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.01265, allocations: 170.2 kB / 274.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/0.01343, allocations: 0.5169 MB / 274.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.01346, allocations: 33.7 kB / 274.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.01355, allocations: 97.09 kB / 274.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.0136, allocations: 31.78 kB / 274.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.01374, allocations: 85.52 kB / 274.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.01394, allocations: 322.8 kB / 275.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.01418, allocations: 174.8 kB / 275.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.01443, allocations: 196.5 kB / 275.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.01488, allocations: 351.2 kB / 275.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.01488, allocations: 3.984 kB / 275.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008871/0.01577, allocations: 0.5069 MB / 276.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.0159, allocations: 126.8 kB / 276.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01591, allocations: 80 / 276.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.01593, allocations: 0 / 276.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.411e-05/0.01595, allocations: 3.984 kB / 276.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01596, allocations: 7.984 kB / 276.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.0161, allocations: 8 kB / 276.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.01617, allocations: 43.98 kB / 276.6 MB, free: 12.78 MB / 266.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.000421/0.01659, allocations: 358.4 kB / 277 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.01668, allocations: 55.7 kB / 277 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.01681, allocations: 67.12 kB / 277.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01681, allocations: 0 / 277.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.01681, allocations: 4.125 kB / 277.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.01682, allocations: 0 / 277.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.01803, allocations: 0.8666 MB / 278 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01803, allocations: 0 / 278 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-06/0.01804, allocations: 0 / 278 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.01804, allocations: 4 kB / 278 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.01808, allocations: 15.94 kB / 278 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01808, allocations: 3.984 kB / 278 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01808, allocations: 0 / 278 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.01899, allocations: 0.6724 MB / 278.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.01938, allocations: 201.4 kB / 278.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.01944, allocations: 8 kB / 278.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.01959, allocations: 15.98 kB / 278.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.01971, allocations: 19.98 kB / 278.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.01977, allocations: 43.98 kB / 278.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005566/0.02033, allocations: 386.9 kB / 279.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02033, allocations: 0 / 279.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003245/0.02065, allocations: 51.89 kB / 279.4 MB, free: 9.844 MB / 266.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.0001638/0.02082, allocations: 119 kB / 279.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007746/0.02159, allocations: 0.6085 MB / 280.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02159, allocations: 0 / 280.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.02205, allocations: 420.4 kB / 280.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.02275, allocations: 135.8 kB / 280.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.02413, allocations: 0.7811 MB / 281.4 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.02443, allocations: 201.8 kB / 281.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.02449, allocations: 12.66 kB / 281.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.02452, allocations: 16.5 kB / 281.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02452, allocations: 0 / 281.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of Templates: time 0.01/0.03453, allocations: 4.922 MB / 286.6 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.363031105953269]