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.00136/0.00136, allocations: 84 kB / 21.18 MB, free: 3.398 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.0009709/0.0009709, allocations: 145.1 kB / 24.54 MB, free: 48 kB / 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.025/1.025, allocations: 173.4 MB / 201.2 MB, free: 9.332 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.593e-06/1.593e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.625e-05, allocations: 2.312 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002272/0.002298, allocations: 1.526 MB / 269.5 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.006887, allocations: 0.8341 MB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.006934, allocations: 0 / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.901e-05/0.007023, allocations: 11.86 kB / 270.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.0071, allocations: 19.86 kB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.007346, allocations: 63.75 kB / 270.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.007522, allocations: 135.7 kB / 270.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.007617, allocations: 15.98 kB / 270.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.008036, allocations: 419.2 kB / 271 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.008143, allocations: 59.75 kB / 271.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.008178, allocations: 12 kB / 271.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.838e-05/0.008207, allocations: 8 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.008284, allocations: 67.78 kB / 271.1 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.008364, allocations: 51.78 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.00864, allocations: 271 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.008642, allocations: 4 kB / 271.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008643, allocations: 0 / 271.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.008648, allocations: 0 / 271.5 MB, free: 2.941 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.002767/0.01141, allocations: 0.7746 MB / 272.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01146, allocations: 12.92 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.01154, allocations: 44.7 kB / 272.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.01178, allocations: 222.9 kB / 272.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.01181, allocations: 4.375 kB / 272.5 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.01183, allocations: 20.3 kB / 272.5 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.01218, allocations: 241.7 kB / 272.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.01219, allocations: 192 / 272.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.01221, allocations: 8.375 kB / 272.8 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01222, allocations: 3.938 kB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.01237, allocations: 166.8 kB / 272.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.01308, allocations: 0.4954 MB / 273.4 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.01326, allocations: 189.8 kB / 273.6 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.01341, allocations: 170.5 kB / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.01342, allocations: 7.938 kB / 273.8 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.01371, allocations: 327.3 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.01371, allocations: 0 / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007583/0.01447, allocations: 0.6768 MB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.01455, allocations: 166.2 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008237/0.01537, allocations: 0.631 MB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.0154, allocations: 29.7 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.01547, allocations: 151.8 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.01551, allocations: 27.8 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.01562, allocations: 87.16 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01576, allocations: 0.4962 MB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.01591, allocations: 162.8 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.01607, allocations: 186.1 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.01633, allocations: 340.9 kB / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01633, allocations: 0 / 277 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005035/0.01684, allocations: 483.1 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.01691, allocations: 134.7 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01692, allocations: 0 / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01694, allocations: 0 / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.05e-05/0.01696, allocations: 4.031 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01696, allocations: 4 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.0171, allocations: 16.11 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.01715, allocations: 40.11 kB / 277.7 MB, free: 12.03 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.0003217/0.01747, allocations: 389.2 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.01754, allocations: 55.7 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.01765, allocations: 55.08 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01765, allocations: 0 / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.01766, allocations: 0 / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01766, allocations: 0 / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.01867, allocations: 0.9671 MB / 279.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.01867, allocations: 0 / 279.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-06/0.01868, allocations: 0 / 279.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01868, allocations: 0 / 279.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.01871, allocations: 12 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01871, allocations: 0 / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01871, allocations: 0 / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.01931, allocations: 0.6964 MB / 279.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.01963, allocations: 185.4 kB / 280.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.01968, allocations: 12 kB / 280.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.01981, allocations: 15.98 kB / 280.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.01991, allocations: 31.95 kB / 280.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.01997, allocations: 40 kB / 280.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005301/0.0205, allocations: 430.7 kB / 280.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0205, allocations: 0 / 280.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.02082, allocations: 43.95 kB / 280.6 MB, free: 8.926 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 0.0001321/0.02095, allocations: 115 kB / 280.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.02148, allocations: 0.6005 MB / 281.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02148, allocations: 64 / 281.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.02176, allocations: 424.1 kB / 281.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.02235, allocations: 142.6 kB / 281.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.02343, allocations: 0.7408 MB / 282.6 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.02354, allocations: 103.2 kB / 282.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.44e-05/0.02358, allocations: 4.734 kB / 282.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.02361, allocations: 16.5 kB / 282.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02361, allocations: 0 / 282.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of Templates: time 0.006749/0.03036, allocations: 4.952 MB / 287.7 MB, free: 1.617 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.9940984761342406]