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.0009241/0.0009241, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.0009226/0.0009226, allocations: 146 kB / 25.59 MB, free: 8.918 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.9348/0.9348, allocations: 173.4 MB / 202.2 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.754e-06/1.754e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.804e-05, allocations: 4.844 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002078/0.002106, allocations: 1.521 MB / 270.7 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.003531, allocations: 0.8202 MB / 271.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.003586, allocations: 0 / 271.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.717e-05/0.003673, allocations: 7.922 kB / 271.5 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.003752, allocations: 25.83 kB / 271.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.004, allocations: 59.75 kB / 271.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004161, allocations: 139.7 kB / 271.8 MB, free: 7.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.004246, allocations: 19.97 kB / 271.8 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.004614, allocations: 415.2 kB / 272.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.004712, allocations: 56.75 kB / 272.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.004742, allocations: 12 kB / 272.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.004769, allocations: 10.12 kB / 272.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.004834, allocations: 67.72 kB / 272.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.004895, allocations: 47.8 kB / 272.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.005116, allocations: 271.1 kB / 272.6 MB, free: 6.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005118, allocations: 3.938 kB / 272.6 MB, free: 6.328 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005119, allocations: 0 / 272.6 MB, free: 6.328 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005124, allocations: 1.188 kB / 272.6 MB, free: 6.328 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.0005718/0.005696, allocations: 0.7823 MB / 273.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.005734, allocations: 8.031 kB / 273.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.005795, allocations: 45.23 kB / 273.5 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.005974, allocations: 227.4 kB / 273.7 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.005993, allocations: 8.375 kB / 273.7 MB, free: 5.176 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.006009, allocations: 10.12 kB / 273.7 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.00625, allocations: 233.7 kB / 273.9 MB, free: 4.906 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.006256, allocations: 192 / 273.9 MB, free: 4.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.006271, allocations: 8.375 kB / 274 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.006277, allocations: 8.562 kB / 274 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.006363, allocations: 150.8 kB / 274.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.006791, allocations: 409.3 kB / 274.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.006924, allocations: 173.8 kB / 274.7 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.007015, allocations: 171.5 kB / 274.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.00702, allocations: 0 / 274.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.007207, allocations: 318.7 kB / 275.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.007208, allocations: 0 / 275.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000775/0.007983, allocations: 0.6502 MB / 275.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.008038, allocations: 170.2 kB / 276 MB, free: 2.598 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.008473, allocations: 0.5062 MB / 276.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.008493, allocations: 33.64 kB / 276.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.008554, allocations: 151.8 kB / 276.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.008581, allocations: 27.78 kB / 276.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.008664, allocations: 91.14 kB / 276.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.00877, allocations: 0.504 MB / 277.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.008859, allocations: 146.8 kB / 277.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.008945, allocations: 174.1 kB / 277.6 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.009103, allocations: 324.9 kB / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009105, allocations: 0 / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003342/0.009439, allocations: 471.1 kB / 278.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.009497, allocations: 130.8 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.009501, allocations: 0 / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.009508, allocations: 4.031 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.414e-05/0.009522, allocations: 0 / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.009526, allocations: 4 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/0.009617, allocations: 8 kB / 278.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.009657, allocations: 47.97 kB / 278.6 MB, free: 15.77 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.0002327/0.00989, allocations: 393.2 kB / 278.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.009936, allocations: 55.7 kB / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-05/0.01001, allocations: 47.09 kB / 279 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01002, allocations: 0 / 279 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.01002, allocations: 4.125 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01002, allocations: 8 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.01063, allocations: 0.8423 MB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01063, allocations: 0 / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-06/0.01064, allocations: 7.922 kB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.01064, allocations: 0 / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.01066, allocations: 12 kB / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01066, allocations: 0 / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01066, allocations: 3.938 kB / 279.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.01109, allocations: 0.6691 MB / 280.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.01132, allocations: 189.3 kB / 280.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.01135, allocations: 12 kB / 280.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.01143, allocations: 12 kB / 280.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.01149, allocations: 19.97 kB / 280.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.01153, allocations: 44 kB / 280.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.01174, allocations: 298.9 kB / 281.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01174, allocations: 4 kB / 281.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000191/0.01193, allocations: 47.89 kB / 281.2 MB, free: 12.93 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 9.858e-05/0.01203, allocations: 115 kB / 281.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.01235, allocations: 0.5769 MB / 281.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01235, allocations: 0 / 281.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.01254, allocations: 412 kB / 282.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.01293, allocations: 137.9 kB / 282.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.01388, allocations: 0.729 MB / 283.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.01395, allocations: 111.2 kB / 283.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.946e-05/0.01399, allocations: 8.703 kB / 283.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.01423, allocations: 182.5 kB / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01423, allocations: 0 / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.005613/0.01984, allocations: 4.598 MB / 288.1 MB, free: 5.871 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.7588829239830375]