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.0007987/0.0007987, 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.001129/0.001129, allocations: 146.3 kB / 24.89 MB, free: 8.773 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.964/0.964, allocations: 173.4 MB / 201.5 MB, free: 8.785 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.032e-06/1.032e-06, allocations: 0 / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.261e-05, allocations: 2.312 kB / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001677/0.001689, allocations: 1.514 MB / 270 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003111, allocations: 0.8418 MB / 270.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.003154, allocations: 0 / 270.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.173e-05/0.003236, allocations: 11.86 kB / 270.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.003305, allocations: 15.88 kB / 270.9 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.003536, allocations: 59.8 kB / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.00369, allocations: 143.7 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.003756, allocations: 12 kB / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.004107, allocations: 395.2 kB / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.0042, allocations: 59.81 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.004227, allocations: 8 kB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.004247, allocations: 8 kB / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.004308, allocations: 63.78 kB / 271.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.004369, allocations: 55.73 kB / 271.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.004606, allocations: 263.1 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004608, allocations: 0 / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004609, allocations: 0 / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004613, allocations: 0 / 271.9 MB, free: 2.578 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.0006128/0.005226, allocations: 0.6303 MB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.005262, allocations: 12.92 kB / 272.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.005334, allocations: 28.91 kB / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.005552, allocations: 212 kB / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.005575, allocations: 12.38 kB / 272.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.005603, allocations: 12.34 kB / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.005886, allocations: 229.3 kB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005895, allocations: 4.188 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.005912, allocations: 384 / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.00592, allocations: 7.938 kB / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.006033, allocations: 146.8 kB / 273.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.00629, allocations: 216.2 kB / 273.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.006409, allocations: 165.4 kB / 273.5 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.006495, allocations: 155.6 kB / 273.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.006503, allocations: 7.984 kB / 273.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.006736, allocations: 297.4 kB / 274 MB, free: 224 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.006737, allocations: 0 / 274 MB, free: 224 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004598/0.007197, allocations: 0.5216 MB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.007274, allocations: 166.2 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.007639, allocations: 363.1 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.00766, allocations: 29.7 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.007694, allocations: 97.06 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.007721, allocations: 31.78 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.007786, allocations: 73.48 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.007853, allocations: 326.8 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.007962, allocations: 150.8 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.008081, allocations: 164.5 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.008297, allocations: 319.3 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008299, allocations: 0 / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002851/0.008584, allocations: 363 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.008653, allocations: 122.7 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.008657, allocations: 112 / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.008673, allocations: 11.92 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.771e-05/0.008691, allocations: 0 / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.008694, allocations: 0 / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.008799, allocations: 12 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.008834, allocations: 40.03 kB / 276.7 MB, free: 13.14 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.0004288/0.009263, allocations: 349.3 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.009319, allocations: 35.91 kB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.009428, allocations: 59.08 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.00943, allocations: 0 / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009431, allocations: 0 / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009435, allocations: 0 / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.009913, allocations: 0.5822 MB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009914, allocations: 0 / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-06/0.00992, allocations: 4 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.009923, allocations: 7.938 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.009945, allocations: 11.98 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009946, allocations: 0 / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009947, allocations: 0 / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.01026, allocations: 497 kB / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.01044, allocations: 151.4 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.01047, allocations: 12 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.01055, allocations: 11.98 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.01061, allocations: 11.98 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.01064, allocations: 48.16 kB / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.01077, allocations: 156.6 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01077, allocations: 0 / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.01092, allocations: 44 kB / 278.7 MB, free: 11 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.245e-05/0.011, allocations: 100.1 kB / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.0113, allocations: 0.5624 MB / 279.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.0113, allocations: 4 kB / 279.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.01146, allocations: 404 kB / 279.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01174, allocations: 138.9 kB / 279.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.0124, allocations: 0.7379 MB / 280.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.01247, allocations: 99.2 kB / 280.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.0125, allocations: 8.719 kB / 280.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.01271, allocations: 151.5 kB / 280.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01272, allocations: 0 / 280.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of Templates: time 0.005778/0.01849, allocations: 4.44 MB / 285.3 MB, free: 4.141 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.572127983905375]