Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008531/0.0008531, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009978/0.0009978, allocations: 171.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.936/0.936, allocations: 158.6 MB / 188.3 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.207e-05, allocations: 2.312 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001906/0.001928, allocations: 1.526 MB / 253.8 MB, free: 5.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.003291, allocations: 0.8506 MB / 254.6 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.003333, allocations: 4 kB / 254.6 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.845e-05/0.003402, allocations: 11.86 kB / 254.7 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.003464, allocations: 23.84 kB / 254.7 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.003653, allocations: 51.88 kB / 254.7 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.003804, allocations: 135.7 kB / 254.9 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.003884, allocations: 19.97 kB / 254.9 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.004319, allocations: 423.2 kB / 255.3 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.00441, allocations: 55.81 kB / 255.3 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.004437, allocations: 8 kB / 255.4 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.004458, allocations: 12 kB / 255.4 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.004521, allocations: 67.7 kB / 255.4 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.004582, allocations: 55.8 kB / 255.5 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.004783, allocations: 267 kB / 255.7 MB, free: 3.734 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.004786, allocations: 4 kB / 255.8 MB, free: 3.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004787, allocations: 4 kB / 255.8 MB, free: 3.727 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.004791, allocations: 0 / 255.8 MB, free: 3.727 MB / 234.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.0005464/0.005337, allocations: 0.7784 MB / 256.5 MB, free: 2.887 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.005367, allocations: 15.98 kB / 256.5 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.005421, allocations: 48.7 kB / 256.6 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.0056, allocations: 218.9 kB / 256.8 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.005616, allocations: 8.375 kB / 256.8 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.005631, allocations: 8.375 kB / 256.8 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.005841, allocations: 233.6 kB / 257.1 MB, free: 2.305 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.005846, allocations: 192 / 257.1 MB, free: 2.305 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.005861, allocations: 16.31 kB / 257.1 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005867, allocations: 3.938 kB / 257.1 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.005962, allocations: 154.8 kB / 257.2 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.006359, allocations: 412 kB / 257.6 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.006475, allocations: 177.8 kB / 257.8 MB, free: 1.465 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.006561, allocations: 158.5 kB / 258 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.006568, allocations: 4 kB / 258 MB, free: 1.277 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.006748, allocations: 319 kB / 258.3 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.006749, allocations: 0 / 258.3 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004993/0.007248, allocations: 0.6425 MB / 258.9 MB, free: 196 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002987/0.007547, allocations: 170.2 kB / 259.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.008008, allocations: 0.506 MB / 259.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.008027, allocations: 29.7 kB / 259.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.008085, allocations: 155.8 kB / 259.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.008118, allocations: 31.77 kB / 259.8 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.008189, allocations: 87.16 kB / 259.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.008407, allocations: 0.4962 MB / 260.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.008492, allocations: 150.8 kB / 260.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.008583, allocations: 178.1 kB / 260.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.008757, allocations: 332.6 kB / 261 MB, free: 13.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.008758, allocations: 0 / 261 MB, free: 13.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000322/0.00908, allocations: 471.1 kB / 261.5 MB, free: 13.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.009138, allocations: 122.8 kB / 261.6 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.009142, allocations: 4 kB / 261.6 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.00915, allocations: 0 / 261.6 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.251e-05/0.009162, allocations: 3.969 kB / 261.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.009165, allocations: 4 kB / 261.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.009241, allocations: 19.94 kB / 261.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.009276, allocations: 40.05 kB / 261.7 MB, free: 13.15 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.0004278/0.009704, allocations: 397.3 kB / 262.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.00976, allocations: 51.7 kB / 262.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.102e-05/0.009841, allocations: 51.09 kB / 262.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.009842, allocations: 0 / 262.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.009844, allocations: 128 / 262.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.009849, allocations: 4 kB / 262.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.01043, allocations: 0.8508 MB / 263 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01043, allocations: 0 / 263 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-06/0.01044, allocations: 3.938 kB / 263 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01044, allocations: 0 / 263 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.01046, allocations: 12 kB / 263 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01046, allocations: 3.984 kB / 263 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01046, allocations: 0 / 263 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.01086, allocations: 0.673 MB / 263.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.01109, allocations: 185.3 kB / 263.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.01112, allocations: 12 kB / 263.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.0112, allocations: 19.98 kB / 263.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.01125, allocations: 15.98 kB / 263.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.01129, allocations: 47.92 kB / 264 MB, free: 10.65 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.01149, allocations: 302.9 kB / 264.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 264.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.01168, allocations: 44 kB / 264.3 MB, free: 10.32 MB / 250.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.0001003/0.01178, allocations: 111 kB / 264.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.01214, allocations: 0.573 MB / 265 MB, free: 9.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01214, allocations: 4.062 kB / 265 MB, free: 9.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006173/0.01276, allocations: 412 kB / 265.4 MB, free: 9.035 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.01313, allocations: 140.2 kB / 265.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.01383, allocations: 0.7321 MB / 266.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.094e-05/0.0139, allocations: 99.27 kB / 266.4 MB, free: 8.008 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.01393, allocations: 12.7 kB / 266.4 MB, free: 7.992 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.01418, allocations: 182.5 kB / 266.6 MB, free: 7.812 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01418, allocations: 0 / 266.6 MB, free: 7.812 MB / 250.7 MB Notification: Performance of Templates: time 0.005516/0.0197, allocations: 4.599 MB / 271.2 MB, free: 3.188 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8211663751862943]