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.0009192/0.0009192, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008169/0.0008169, allocations: 140.6 kB / 24.89 MB, free: 8.777 MB / 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 0.9384/0.9384, allocations: 173.4 MB / 201.5 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 268.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.543e-05, allocations: 6.312 kB / 268.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001926/0.001942, allocations: 1.553 MB / 270.1 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.003401, allocations: 0.8238 MB / 270.9 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.003448, allocations: 0 / 270.9 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.631e-05/0.003545, allocations: 16.55 kB / 270.9 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.003627, allocations: 28.5 kB / 270.9 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.003846, allocations: 47.83 kB / 271 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.00401, allocations: 146.3 kB / 271.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.004086, allocations: 19.98 kB / 271.1 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.004458, allocations: 387.3 kB / 271.5 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.004559, allocations: 55.81 kB / 271.6 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.004589, allocations: 12 kB / 271.6 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.004607, allocations: 8 kB / 271.6 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.004681, allocations: 67.72 kB / 271.7 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.004745, allocations: 56.31 kB / 271.7 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.004952, allocations: 280.6 kB / 272 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004954, allocations: 0 / 272 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004954, allocations: 0 / 272 MB, free: 6.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004958, allocations: 0 / 272 MB, free: 6.262 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.0004162/0.005374, allocations: 0.6187 MB / 272.6 MB, free: 5.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.005406, allocations: 8.656 kB / 272.6 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.005456, allocations: 33.84 kB / 272.7 MB, free: 5.555 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.0056, allocations: 208.1 kB / 272.9 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.005613, allocations: 8.375 kB / 272.9 MB, free: 5.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.005629, allocations: 12.86 kB / 272.9 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.005822, allocations: 233.7 kB / 273.1 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.00583, allocations: 4.125 kB / 273.1 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.005841, allocations: 4.375 kB / 273.1 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.005845, allocations: 3.938 kB / 273.1 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.005927, allocations: 153.2 kB / 273.3 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.006158, allocations: 212.1 kB / 273.5 MB, free: 4.637 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.006269, allocations: 169.4 kB / 273.6 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.006346, allocations: 151.7 kB / 273.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/0.006351, allocations: 8 kB / 273.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.006515, allocations: 301.4 kB / 274.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.006516, allocations: 112 / 274.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003067/0.006823, allocations: 0.5176 MB / 274.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.00689, allocations: 170.2 kB / 274.8 MB, free: 3.109 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.007214, allocations: 363.2 kB / 275.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.007233, allocations: 29.7 kB / 275.2 MB, free: 2.711 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.007271, allocations: 101.1 kB / 275.3 MB, free: 2.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.007296, allocations: 27.78 kB / 275.3 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.007364, allocations: 81.48 kB / 275.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.007445, allocations: 322.8 kB / 275.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.007523, allocations: 138.8 kB / 275.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.007609, allocations: 179.5 kB / 276 MB, free: 1.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.007759, allocations: 313 kB / 276.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.00776, allocations: 0 / 276.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001956/0.007956, allocations: 355.2 kB / 276.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.008014, allocations: 126.7 kB / 276.8 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.008018, allocations: 4.031 kB / 276.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.231e-06/0.008024, allocations: 0 / 276.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-05/0.008037, allocations: 4 kB / 276.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.008039, allocations: 0 / 276.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.008113, allocations: 15.98 kB / 276.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.008146, allocations: 36 kB / 276.8 MB, free: 0.8359 MB / 250.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.0002056/0.008352, allocations: 349.3 kB / 277.2 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.008384, allocations: 35.91 kB / 277.2 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.008454, allocations: 51.09 kB / 277.3 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008455, allocations: 4 kB / 277.3 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.008457, allocations: 4 kB / 277.3 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.008459, allocations: 0 / 277.3 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.008878, allocations: 0.5901 MB / 277.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.008881, allocations: 4 kB / 277.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.008885, allocations: 0 / 277.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008887, allocations: 3.938 kB / 277.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.008902, allocations: 15.98 kB / 277.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008904, allocations: 3.984 kB / 277.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008904, allocations: 0 / 277.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.009138, allocations: 496.8 kB / 278.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.009302, allocations: 143.4 kB / 278.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.009332, allocations: 12 kB / 278.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.009399, allocations: 8 kB / 278.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.00945, allocations: 31.89 kB / 278.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.009478, allocations: 36 kB / 278.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.009607, allocations: 152.6 kB / 278.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009607, allocations: 0 / 278.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.009752, allocations: 44 kB / 278.8 MB, free: 14.71 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 6.777e-05/0.00982, allocations: 100.2 kB / 278.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.0101, allocations: 0.5547 MB / 279.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.01011, allocations: 4 kB / 279.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.01029, allocations: 416 kB / 279.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.01059, allocations: 125.6 kB / 280 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.01123, allocations: 0.7418 MB / 280.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.253e-05/0.01129, allocations: 95.27 kB / 280.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.353e-05/0.01132, allocations: 8.719 kB / 280.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.01153, allocations: 159.7 kB / 281 MB, free: 12.27 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01153, allocations: 0 / 281 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Templates: time 0.004982/0.01651, allocations: 4.44 MB / 285.4 MB, free: 7.867 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.493533077184111]