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.00178/0.00178, allocations: 85.67 kB / 20.68 MB, free: 1.035 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.002091/0.002091, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.526/1.526, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.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 1.833e-06/1.833e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.048e-05, allocations: 9.172 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002521/0.002552, allocations: 1.491 MB / 326.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.004827, allocations: 0.8431 MB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.004879, allocations: 0 / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.996e-05/0.004969, allocations: 14.72 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.005062, allocations: 23.25 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.005356, allocations: 53.73 kB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.005603, allocations: 140.8 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.005701, allocations: 24.19 kB / 327.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006029/0.006303, allocations: 414.5 kB / 328.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.006447, allocations: 60.38 kB / 328.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.006493, allocations: 14.53 kB / 328.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-05/0.006526, allocations: 9.219 kB / 328.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.00662, allocations: 61.2 kB / 328.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.006733, allocations: 55.88 kB / 328.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.007255, allocations: 357.2 kB / 328.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007258, allocations: 0 / 328.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00726, allocations: 0 / 328.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.00727, allocations: 1.766 kB / 328.6 MB, free: 14.59 MB / 302.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.0009019/0.008172, allocations: 0.6564 MB / 329.3 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.008211, allocations: 9.422 kB / 329.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.0083, allocations: 39.42 kB / 329.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.008631, allocations: 213 kB / 329.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.008651, allocations: 10.12 kB / 329.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.008683, allocations: 7.812 kB / 329.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.009183, allocations: 248.7 kB / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.009196, allocations: 192 / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.009231, allocations: 5.047 kB / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.009239, allocations: 7.875 kB / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.009496, allocations: 177.4 kB / 330 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.01021, allocations: 384.5 kB / 330.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.01051, allocations: 194.8 kB / 330.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.01076, allocations: 181.8 kB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.01077, allocations: 3.938 kB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.01119, allocations: 326.9 kB / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.01119, allocations: 0 / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001068/0.01226, allocations: 0.6992 MB / 331.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.01238, allocations: 172.4 kB / 331.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/0.01313, allocations: 0.5167 MB / 332.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.01316, allocations: 33.8 kB / 332.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.01325, allocations: 102.2 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.0133, allocations: 30.55 kB / 332.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.01344, allocations: 79.45 kB / 332.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01361, allocations: 326 kB / 333 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.01384, allocations: 176.5 kB / 333.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.01407, allocations: 197.1 kB / 333.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.01451, allocations: 354 kB / 333.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01452, allocations: 1.094 kB / 333.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000738/0.01525, allocations: 0.5072 MB / 334.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.01536, allocations: 122.1 kB / 334.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01537, allocations: 0 / 334.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.01539, allocations: 1.438 kB / 334.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.01541, allocations: 1.312 kB / 334.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01542, allocations: 112 / 334.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.01557, allocations: 21.73 kB / 334.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.01565, allocations: 38.94 kB / 334.4 MB, free: 9.641 MB / 302.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.0004395/0.01609, allocations: 361.1 kB / 334.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.01616, allocations: 51.41 kB / 334.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.01629, allocations: 64.91 kB / 334.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.0163, allocations: 0 / 334.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.0163, allocations: 1.031 kB / 334.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01631, allocations: 0 / 334.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.01787, allocations: 0.878 MB / 335.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01788, allocations: 1.094 kB / 335.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-06/0.01788, allocations: 0 / 335.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.01789, allocations: 1.312 kB / 335.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.01793, allocations: 10.38 kB / 335.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01793, allocations: 0 / 335.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.01793, allocations: 4 kB / 335.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.01896, allocations: 0.6653 MB / 336.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.01939, allocations: 205 kB / 336.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.01945, allocations: 11.5 kB / 336.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.0196, allocations: 8.625 kB / 336.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.01972, allocations: 26.75 kB / 336.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.0198, allocations: 51.36 kB / 336.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005662/0.02037, allocations: 386.3 kB / 337.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02037, allocations: 0 / 337.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.02066, allocations: 42.03 kB / 337.1 MB, free: 7.57 MB / 302.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.000166/0.02083, allocations: 115.7 kB / 337.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.02159, allocations: 0.6106 MB / 337.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02159, allocations: 3.938 kB / 337.8 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.02207, allocations: 422.5 kB / 338.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.02276, allocations: 132.9 kB / 338.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.02426, allocations: 0.774 MB / 339.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.02458, allocations: 202.9 kB / 339.4 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.447e-05/0.02464, allocations: 8.156 kB / 339.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.02468, allocations: 17.09 kB / 339.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.02468, allocations: 0 / 339.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of Templates: time 0.01021/0.03489, allocations: 4.907 MB / 344.3 MB, free: 0.9258 MB / 302.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: 4.498651497066021]