Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008945/0.0008945, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004322/0.004322, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8419/0.8419, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.267e-05, allocations: 7.125 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001897/0.001919, allocations: 1.492 MB / 327.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.003251, allocations: 0.8458 MB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.003295, allocations: 0 / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.898e-05/0.003384, allocations: 7.922 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.003449, allocations: 15.86 kB / 328.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.003686, allocations: 63.75 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.003854, allocations: 135.7 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.003942, allocations: 11.98 kB / 328.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.004283, allocations: 419.2 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.004375, allocations: 55.83 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.004405, allocations: 12 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.004425, allocations: 8 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.00449, allocations: 67.78 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.004551, allocations: 51.78 kB / 328.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.004802, allocations: 362.8 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004804, allocations: 0 / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004805, allocations: 0 / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.004809, allocations: 0 / 329.3 MB, free: 11.83 MB / 298.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.0005146/0.005324, allocations: 0.6591 MB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.005362, allocations: 19.97 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.005415, allocations: 40.7 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.005611, allocations: 212.1 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.005629, allocations: 4.375 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.005647, allocations: 8.375 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.005909, allocations: 244 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.005918, allocations: 4.188 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.005934, allocations: 8.312 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.005941, allocations: 7.938 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.006066, allocations: 178.8 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.006494, allocations: 396.2 kB / 331.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.006647, allocations: 193.3 kB / 331.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.006764, allocations: 183.7 kB / 331.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.006775, allocations: 3.938 kB / 331.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.007032, allocations: 317.5 kB / 331.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.007034, allocations: 0 / 331.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005751/0.007609, allocations: 0.7009 MB / 332.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.007676, allocations: 170.2 kB / 332.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.00806, allocations: 0.513 MB / 333.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.008083, allocations: 33.7 kB / 333.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.008137, allocations: 105.1 kB / 333.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.008161, allocations: 23.8 kB / 333.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.00823, allocations: 85.5 kB / 333.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.00831, allocations: 322.8 kB / 333.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.008422, allocations: 178.7 kB / 333.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.008534, allocations: 195.4 kB / 334 MB, free: 6.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.008976, allocations: 359.3 kB / 334.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008977, allocations: 0 / 334.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003406/0.009318, allocations: 0.4981 MB / 334.9 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.009378, allocations: 134.8 kB / 335 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.009383, allocations: 0 / 335 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.009394, allocations: 0 / 335 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-05/0.009412, allocations: 4 kB / 335 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.009417, allocations: 0 / 335 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.0095, allocations: 11.98 kB / 335 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.00954, allocations: 44.05 kB / 335.1 MB, free: 5.438 MB / 298.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.0002014/0.009741, allocations: 362.5 kB / 335.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.009769, allocations: 43.7 kB / 335.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.009838, allocations: 71.08 kB / 335.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00984, allocations: 0 / 335.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.009845, allocations: 3.984 kB / 335.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.009848, allocations: 3.938 kB / 335.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.01044, allocations: 0.8627 MB / 336.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01044, allocations: 0 / 336.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-06/0.01044, allocations: 0 / 336.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01044, allocations: 4 kB / 336.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.01046, allocations: 16.17 kB / 336.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01046, allocations: 4 kB / 336.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01046, allocations: 0 / 336.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.01087, allocations: 0.6647 MB / 337.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.01109, allocations: 205.4 kB / 337.3 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.01112, allocations: 8 kB / 337.3 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.01119, allocations: 15.98 kB / 337.3 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.01127, allocations: 23.97 kB / 337.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.0113, allocations: 43.94 kB / 337.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002674/0.01157, allocations: 386.9 kB / 337.8 MB, free: 2.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01157, allocations: 0 / 337.8 MB, free: 2.555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.01175, allocations: 51.98 kB / 337.8 MB, free: 2.504 MB / 298.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.469e-05/0.01184, allocations: 111 kB / 337.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.01221, allocations: 0.6124 MB / 338.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01221, allocations: 0 / 338.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.0124, allocations: 428.4 kB / 339 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.01274, allocations: 131.2 kB / 339.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.01346, allocations: 0.8209 MB / 339.9 MB, free: 188 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.01362, allocations: 193.8 kB / 340.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.01364, allocations: 16.5 kB / 340.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01364, allocations: 0 / 340.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.002907/0.01655, allocations: 2.564 MB / 342.7 MB, free: 13.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.688271721825004]