Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.001037/0.001037, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001291/0.001291, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9921/0.9921, allocations: 177 MB / 204.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2879/0.2879, allocations: 34.86 MB / 296.3 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.471e-05, allocations: 3.156 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003208/0.003243, allocations: 1.599 MB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003595/0.003603, allocations: 67.78 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.003698, allocations: 7.938 kB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.00386, allocations: 11.86 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.003903, allocations: 4 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.004075, allocations: 19.92 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.004209, allocations: 39.86 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004315, allocations: 7.984 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.004369, allocations: 15.97 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/0.004431, allocations: 11.94 kB / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.004462, allocations: 4 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.004473, allocations: 4 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.004494, allocations: 7.984 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.004533, allocations: 7.938 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.004692, allocations: 31.91 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004695, allocations: 0 / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004696, allocations: 0 / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.004702, allocations: 3.938 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005161/0.005218, allocations: 372.5 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.005271, allocations: 8.031 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.005323, allocations: 8.938 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.005524, allocations: 136.4 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.005538, allocations: 4.375 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.005564, allocations: 12.38 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.005744, allocations: 86 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005751, allocations: 192 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.005762, allocations: 384 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.005773, allocations: 384 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.005819, allocations: 23.86 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.006327, allocations: 0.5132 MB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.006479, allocations: 43.05 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.006506, allocations: 11.69 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.00652, allocations: 4 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.006549, allocations: 45.41 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.006551, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004085/0.00696, allocations: 81.52 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.006996, allocations: 51.41 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.007116, allocations: 181.8 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.007129, allocations: 25.7 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.007203, allocations: 142.8 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.007215, allocations: 7.906 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.007258, allocations: 27.38 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.007407, allocations: 0.4923 MB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.007433, allocations: 4 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.007479, allocations: 50.67 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.007553, allocations: 50.69 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007555, allocations: 0 / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001179/0.007672, allocations: 73.52 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.007689, allocations: 8.094 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.007697, allocations: 8.359 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.007713, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.154e-05/0.007774, allocations: 12 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.007782, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.007812, allocations: 11.88 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007819, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.98e-05/0.007908, allocations: 164.6 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.007937, allocations: 11.92 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.007963, allocations: 8 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.007966, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007969, allocations: 4 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.007974, allocations: 4 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.008116, allocations: 124.6 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008117, allocations: 4 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.008179, allocations: 11.98 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.008183, allocations: 3.938 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.008193, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.008195, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.0082, allocations: 4 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.008404, allocations: 207.8 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.008417, allocations: 11.98 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.008435, allocations: 7.922 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.008481, allocations: 0 / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.008502, allocations: 4 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.008505, allocations: 0 / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.008565, allocations: 135.2 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008565, allocations: 0 / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.008799, allocations: 4 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001016/0.008901, allocations: 99.19 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.009021, allocations: 31.61 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.009024, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.009045, allocations: 23.67 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.009332, allocations: 4 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.009699, allocations: 157.9 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.009745, allocations: 59.34 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.00978, allocations: 4 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.009813, allocations: 12.5 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.009815, allocations: 192 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.002703/0.01252, allocations: 490.4 kB / 384.6 MB, free: 11.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.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: 3.086169634014368]