Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002437/0.002437, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002889/0.002889, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3363/0.3363, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.905e-05, allocations: 2.312 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003023/0.003052, allocations: 1.578 MB / 376.8 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.003319, allocations: 67.73 kB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.00339, allocations: 0 / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.003502, allocations: 7.938 kB / 376.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.003536, allocations: 7.875 kB / 376.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.003662, allocations: 15.98 kB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.00378, allocations: 43.83 kB / 377 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.003857, allocations: 4 kB / 377 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.003908, allocations: 15.98 kB / 377 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.004209, allocations: 19.92 kB / 377 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.004229, allocations: 4 kB / 377 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.00424, allocations: 0 / 377 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.004259, allocations: 7.984 kB / 377 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.004297, allocations: 11.94 kB / 377 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.004415, allocations: 39.81 kB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004418, allocations: 0 / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004418, allocations: 0 / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004422, allocations: 0 / 377.1 MB, free: 3.156 MB / 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.0005082/0.004931, allocations: 376.2 kB / 377.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.004973, allocations: 12.03 kB / 377.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.005014, allocations: 8.938 kB / 377.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.005206, allocations: 128.5 kB / 377.6 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.005215, allocations: 4.312 kB / 377.6 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.005245, allocations: 4.375 kB / 377.6 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.00542, allocations: 77.25 kB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.005431, allocations: 4.188 kB / 377.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.00544, allocations: 384 / 377.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.005444, allocations: 384 / 377.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.005531, allocations: 27.86 kB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.006145, allocations: 0.5289 MB / 378.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.006336, allocations: 54.98 kB / 378.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.006384, allocations: 15.69 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.006399, allocations: 0 / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.006445, allocations: 45.41 kB / 378.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.006446, allocations: 0 / 378.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000463/0.006909, allocations: 101.8 kB / 378.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.006959, allocations: 63.39 kB / 378.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.007112, allocations: 173.9 kB / 378.7 MB, free: 1.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.007143, allocations: 29.7 kB / 378.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.00725, allocations: 142.8 kB / 378.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.007269, allocations: 15.89 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.007323, allocations: 27.38 kB / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002746/0.007598, allocations: 496.1 kB / 379.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.007652, allocations: 15.98 kB / 379.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.007729, allocations: 50.73 kB / 379.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.007859, allocations: 74.67 kB / 379.5 MB, free: 476 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.00786, allocations: 0 / 379.5 MB, free: 476 kB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000178/0.008038, allocations: 89.45 kB / 379.6 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.008055, allocations: 5.875 kB / 379.6 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.008063, allocations: 4 kB / 379.6 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.008085, allocations: 0 / 379.6 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.008152, allocations: 11.98 kB / 379.6 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.00816, allocations: 4 kB / 379.6 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.008195, allocations: 4.094 kB / 379.6 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.008205, allocations: 4 kB / 379.6 MB, free: 348 kB / 346.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 0.0001296/0.008334, allocations: 160.6 kB / 379.8 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.008364, allocations: 7.938 kB / 379.8 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.008392, allocations: 11.98 kB / 379.8 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008393, allocations: 7.875 kB / 379.8 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008397, allocations: 0 / 379.8 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.0084, allocations: 0 / 379.8 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.008596, allocations: 128.6 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.008599, allocations: 4 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.423e-05/0.008673, allocations: 12 kB / 379.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.008683, allocations: 7.922 kB / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.008691, allocations: 0 / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008693, allocations: 0 / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.008696, allocations: 4 kB / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.009003, allocations: 223.9 kB / 380.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.009022, allocations: 11.95 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.009038, allocations: 3.938 kB / 380.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.009096, allocations: 0 / 380.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.009121, allocations: 11.92 kB / 380.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.009125, allocations: 4.031 kB / 380.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.066e-05/0.009216, allocations: 131.2 kB / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009216, allocations: 0 / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000223/0.009439, allocations: 12 kB / 380.4 MB, free: 15.55 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.0001152/0.009554, allocations: 91.23 kB / 380.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.009716, allocations: 47.61 kB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.009717, allocations: 0 / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.009767, allocations: 19.67 kB / 380.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.01004, allocations: 16.52 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.01043, allocations: 154 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.065e-05/0.01051, allocations: 75.31 kB / 380.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.01054, allocations: 4 kB / 380.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.01057, allocations: 8.5 kB / 380.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01057, allocations: 4 kB / 380.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003257/0.01383, allocations: 0.4902 MB / 381.3 MB, free: 14.58 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.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.8159282800043]