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.0009143/0.0009143, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0008372/0.0008372, allocations: 148.9 kB / 24.81 MB, free: 9.27 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 1.021/1.021, allocations: 173.4 MB / 201.4 MB, free: 9.223 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.563e-06/1.563e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.483e-05, allocations: 2.312 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002803/0.002827, allocations: 1.506 MB / 269.9 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.004785, allocations: 0.8341 MB / 270.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.004836, allocations: 0 / 270.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.004924, allocations: 7.938 kB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.005002, allocations: 23.78 kB / 270.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.005232, allocations: 55.81 kB / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.005391, allocations: 147.6 kB / 271 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.005466, allocations: 8 kB / 271 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.005845, allocations: 427.2 kB / 271.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/0.00594, allocations: 59.83 kB / 271.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.005973, allocations: 8 kB / 271.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.005996, allocations: 8 kB / 271.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.006059, allocations: 71.7 kB / 271.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.006117, allocations: 51.8 kB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.006322, allocations: 259.1 kB / 271.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006324, allocations: 0 / 271.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006325, allocations: 3.938 kB / 271.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.006329, allocations: 0 / 271.9 MB, free: 2.738 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.0005553/0.006884, allocations: 0.7862 MB / 272.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.00692, allocations: 12.91 kB / 272.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.006981, allocations: 52.7 kB / 272.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.007159, allocations: 218.8 kB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.007175, allocations: 8.375 kB / 272.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.007192, allocations: 8.375 kB / 272.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.007418, allocations: 233.7 kB / 273.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.007423, allocations: 192 / 273.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.007437, allocations: 4.375 kB / 273.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.007442, allocations: 3.938 kB / 273.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.00755, allocations: 154.8 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.007981, allocations: 408 kB / 273.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.008119, allocations: 185.8 kB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.008208, allocations: 166.5 kB / 274.1 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.008214, allocations: 0 / 274.1 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.008423, allocations: 311.2 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.008424, allocations: 0 / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000503/0.008927, allocations: 0.654 MB / 275 MB, free: 15.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.008982, allocations: 170.2 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.009395, allocations: 0.5061 MB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.009413, allocations: 29.81 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.009469, allocations: 155.7 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.009507, allocations: 35.77 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.009577, allocations: 83.16 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.009679, allocations: 0.4923 MB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.009765, allocations: 158.8 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.009854, allocations: 174.1 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01001, allocations: 328.5 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01001, allocations: 4 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003073/0.01032, allocations: 471 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.01038, allocations: 122.8 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01038, allocations: 0 / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.01039, allocations: 4 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.491e-05/0.01041, allocations: 7.984 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.01041, allocations: 0 / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.0105, allocations: 8.125 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.01053, allocations: 44 kB / 277.8 MB, free: 12.17 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.0002286/0.01076, allocations: 393.3 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.0108, allocations: 55.64 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.01088, allocations: 55.09 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01088, allocations: 0 / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01088, allocations: 3.984 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01088, allocations: 0 / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.01149, allocations: 0.8314 MB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01149, allocations: 4 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-06/0.01149, allocations: 7.938 kB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0115, allocations: 0 / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.01151, allocations: 15.98 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01151, allocations: 4 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01152, allocations: 0 / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.0119, allocations: 0.6807 MB / 279.8 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.01211, allocations: 177.4 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.01214, allocations: 12 kB / 280 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.01222, allocations: 11.98 kB / 280 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.01228, allocations: 19.98 kB / 280 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.01231, allocations: 43.98 kB / 280.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.01252, allocations: 306.9 kB / 280.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01252, allocations: 4 kB / 280.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.01271, allocations: 47.89 kB / 280.4 MB, free: 9.324 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 8.001e-05/0.01279, allocations: 111 kB / 280.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.0131, allocations: 0.5731 MB / 281.1 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0131, allocations: 4 kB / 281.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.01328, allocations: 412.2 kB / 281.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.01364, allocations: 135.9 kB / 281.7 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.01433, allocations: 0.7368 MB / 282.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.977e-05/0.01441, allocations: 99.25 kB / 282.5 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.01445, allocations: 8.719 kB / 282.5 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.01468, allocations: 194 kB / 282.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01468, allocations: 0 / 282.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of Templates: time 0.005438/0.02012, allocations: 4.542 MB / 287.2 MB, free: 2.297 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 -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.636251349002123]