Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001012/0.001012, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001175/0.001175, allocations: 172.3 kB / 24.91 MB, free: 8.773 MB / 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 0.9621/0.9621, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2645/0.2645, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.318e-05, allocations: 3.078 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002261/0.002284, allocations: 1.644 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.002537, allocations: 79.61 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.002593, allocations: 0 / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.454e-05/0.002688, allocations: 7.938 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.937e-05/0.002717, allocations: 7.938 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.002831, allocations: 19.97 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.002913, allocations: 39.84 kB / 327.1 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.814e-05/0.002981, allocations: 8 kB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.003022, allocations: 11.98 kB / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.003071, allocations: 11.92 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.003085, allocations: 4 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.003092, allocations: 0 / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.003108, allocations: 11.98 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.003128, allocations: 16.55 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.446e-05/0.003212, allocations: 31.84 kB / 327.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003215, allocations: 3.938 kB / 327.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003215, allocations: 0 / 327.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.00322, allocations: 0 / 327.2 MB, free: 5.766 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002558/0.003475, allocations: 250.2 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.003505, allocations: 8.031 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.003527, allocations: 4.938 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.003647, allocations: 121.7 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.003655, allocations: 4.375 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.003672, allocations: 4.375 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.003774, allocations: 85.44 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003781, allocations: 4.188 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003788, allocations: 384 / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.003792, allocations: 384 / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.003815, allocations: 15.94 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.004076, allocations: 328.6 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.317e-05/0.004159, allocations: 38.58 kB / 328 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.004174, allocations: 8.859 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.004185, allocations: 4 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.004204, allocations: 30.56 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.004205, allocations: 3.938 kB / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002454/0.004451, allocations: 78.14 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.004478, allocations: 51.41 kB / 328.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.004538, allocations: 122.6 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.004547, allocations: 25.7 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.004587, allocations: 96.08 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.004596, allocations: 11.89 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.004629, allocations: 21.7 kB / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.0047, allocations: 322.8 kB / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.004712, allocations: 4 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.004735, allocations: 31.42 kB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.004776, allocations: 39.69 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.004777, allocations: 0 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.873e-05/0.004846, allocations: 65.59 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.004859, allocations: 14.16 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.004863, allocations: 4 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.004879, allocations: 4 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.004923, allocations: 11.94 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.004927, allocations: 7.984 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.004945, allocations: 0 / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.004951, allocations: 4 kB / 329 MB, free: 3.781 MB / 298.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 5.167e-05/0.005003, allocations: 113.8 kB / 329.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.005019, allocations: 4 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.005039, allocations: 7.938 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.005043, allocations: 7.984 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.005045, allocations: 8 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005048, allocations: 0 / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.116e-05/0.005129, allocations: 73.89 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00513, allocations: 0 / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.005203, allocations: 11.98 kB / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.005206, allocations: 0 / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005213, allocations: 4 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.005215, allocations: 7.875 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005216, allocations: 0 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.005327, allocations: 139.5 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.005336, allocations: 15.98 kB / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.005344, allocations: 4 kB / 329.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.005376, allocations: 7.922 kB / 329.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.005387, allocations: 0 / 329.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.00539, allocations: 4 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.509e-05/0.005405, allocations: 16.83 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005405, allocations: 0 / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001203/0.005525, allocations: 8 kB / 329.4 MB, free: 3.309 MB / 298.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 6.765e-05/0.005593, allocations: 80.36 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.133e-05/0.005654, allocations: 24.84 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.005658, allocations: 0 / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.005669, allocations: 16.8 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.005807, allocations: 15.81 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.006032, allocations: 145.4 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.006064, allocations: 66.03 kB / 329.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.006094, allocations: 4 kB / 329.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.006135, allocations: 59.36 kB / 329.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.006136, allocations: 4.188 kB / 329.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of Templates: time 0.002074/0.00821, allocations: 0.5494 MB / 330.3 MB, free: 2.305 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 2.8821288677863777]