Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 68.77 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 53.36 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002892/0.3381, allocations: 1.55 MB / 433.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3402, allocations: 0.8887 MB / 434.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.3402, allocations: 3.938 kB / 434.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.272e-05/0.3403, allocations: 11.92 kB / 434.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.3404, allocations: 23.84 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.3407, allocations: 55.83 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3409, allocations: 135.7 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3411, allocations: 15.97 kB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005545/0.3416, allocations: 403.2 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.3418, allocations: 63.75 kB / 435.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.3418, allocations: 12 kB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.901e-05/0.3418, allocations: 8 kB / 435.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3419, allocations: 71.64 kB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.3421, allocations: 119.2 kB / 435.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.3425, allocations: 356.2 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3425, allocations: 7.938 kB / 436.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3425, allocations: 0 / 436.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3425, allocations: 0 / 436.1 MB, free: 3.273 MB / 334.1 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.0008349/0.3434, allocations: 0.6514 MB / 436.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3434, allocations: 8.031 kB / 436.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.3435, allocations: 40.7 kB / 436.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3438, allocations: 220.8 kB / 437 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3438, allocations: 8.359 kB / 437 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.3438, allocations: 8.375 kB / 437 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.3442, allocations: 125.9 kB / 437.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3442, allocations: 4 kB / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.3442, allocations: 0 / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3442, allocations: 4 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3444, allocations: 55.97 kB / 437.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.3452, allocations: 435.5 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.3455, allocations: 74.55 kB / 437.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3457, allocations: 60.89 kB / 437.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3457, allocations: 0 / 437.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004411/0.3461, allocations: 202.6 kB / 438 MB, free: 1.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3461, allocations: 0 / 438 MB, free: 1.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009044/0.347, allocations: 468.2 kB / 438.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.3472, allocations: 170.2 kB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.3479, allocations: 0.513 MB / 439.1 MB, free: 20 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.3479, allocations: 29.7 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.348, allocations: 109.1 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.348, allocations: 27.8 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3482, allocations: 85.5 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3483, allocations: 326.8 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3485, allocations: 55.97 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3486, allocations: 69.69 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.349, allocations: 345 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.349, allocations: 0 / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005441/0.3495, allocations: 372.4 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.3496, allocations: 126.7 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3496, allocations: 0 / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3497, allocations: 3.984 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.3497, allocations: 32 / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3497, allocations: 7.938 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3498, allocations: 23.94 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.3499, allocations: 36 kB / 440.7 MB, free: 14.3 MB / 350.1 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.0004457/0.3503, allocations: 370.4 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.3504, allocations: 35.81 kB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.3506, allocations: 63.09 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3506, allocations: 3.984 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3506, allocations: 0 / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3506, allocations: 4 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3518, allocations: 0.7851 MB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3518, allocations: 3.938 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-06/0.3518, allocations: 0 / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3518, allocations: 0 / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.3518, allocations: 12 kB / 442 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3518, allocations: 7.984 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.3518, allocations: 3.938 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.3525, allocations: 0.5205 MB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.3529, allocations: 213.2 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.353, allocations: 12 kB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3531, allocations: 8 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.3533, allocations: 31.91 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.3533, allocations: 43.92 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005169/0.3538, allocations: 386.9 kB / 443.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3538, allocations: 0 / 443.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.3541, allocations: 48 kB / 443.2 MB, free: 11.62 MB / 350.1 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.0001451/0.3543, allocations: 115 kB / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.3548, allocations: 369.5 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3548, allocations: 0 / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.3552, allocations: 301.6 kB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.3558, allocations: 125.8 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.357, allocations: 0.665 MB / 444.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.3576, allocations: 0.7983 MB / 445.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.3576, allocations: 12.64 kB / 445.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.3577, allocations: 15.44 kB / 445.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3577, allocations: 0 / 445.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01003/0.3677, allocations: 4.565 MB / 450.2 MB, free: 4.52 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.732541931793094]