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.001515/0.001515, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001274/0.001274, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2892/0.2892, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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.533e-06/1.533e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.256e-05, allocations: 9.203 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002192/0.002215, allocations: 1.585 MB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002696/0.002485, allocations: 75.72 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.002555, allocations: 0 / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.00267, allocations: 3.938 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.002706, allocations: 11.88 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.002831, allocations: 19.97 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.002926, allocations: 39.84 kB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.003024, allocations: 11.94 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.003074, allocations: 15.98 kB / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.00313, allocations: 11.92 kB / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.003148, allocations: 4 kB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.003159, allocations: 4 kB / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.003177, allocations: 0 / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.0032, allocations: 15.97 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.646e-05/0.003296, allocations: 27.91 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003298, allocations: 0 / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003299, allocations: 0 / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.003304, allocations: 0 / 380.3 MB, free: 0.5273 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.0004051/0.003709, allocations: 376.5 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.003749, allocations: 8.031 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.003777, allocations: 8.938 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.00392, allocations: 132.5 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.00393, allocations: 4.359 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.003951, allocations: 12.38 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.004096, allocations: 89.88 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.004108, allocations: 8.188 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004116, allocations: 384 / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.004122, allocations: 384 / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.004146, allocations: 11.94 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.004528, allocations: 0.5059 MB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.004626, allocations: 39.22 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.004642, allocations: 11.67 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.004657, allocations: 4 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.004679, allocations: 37.39 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.00468, allocations: 3.938 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002629/0.004943, allocations: 77.5 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.004971, allocations: 55.41 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.005048, allocations: 173.8 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.005058, allocations: 29.69 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.005117, allocations: 134.8 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.005126, allocations: 15.91 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.005165, allocations: 31.34 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.005282, allocations: 0.4884 MB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.005293, allocations: 4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.005325, allocations: 46.7 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.005372, allocations: 50.69 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005372, allocations: 0 / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.294e-05/0.005445, allocations: 69.56 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005458, allocations: 8.031 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.005464, allocations: 8 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.005475, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.956e-05/0.005514, allocations: 11.94 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.005519, allocations: 4 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.836e-05/0.005537, allocations: 3.984 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005542, allocations: 4 kB / 382.8 MB, free: 13.83 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 7.034e-05/0.005613, allocations: 160.5 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.005628, allocations: 8.312 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.005654, allocations: 12 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005656, allocations: 0 / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.005658, allocations: 4 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.005662, allocations: 7.922 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.688e-05/0.005758, allocations: 109.2 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005759, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.005798, allocations: 8 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.0058, allocations: 3.984 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005806, allocations: 0 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.005809, allocations: 7.875 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00581, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.005941, allocations: 207.9 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.005947, allocations: 11.98 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.005956, allocations: 0 / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.005984, allocations: 7.922 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.005995, allocations: 0 / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005997, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.006031, allocations: 131.2 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006031, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.006175, allocations: 12 kB / 383.4 MB, free: 13.09 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 7.406e-05/0.006249, allocations: 95.19 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.817e-05/0.006317, allocations: 27.67 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006318, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.006334, allocations: 19.62 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.006514, allocations: 14.56 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.00676, allocations: 146 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.006794, allocations: 55.36 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.749e-05/0.006821, allocations: 3.984 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.006871, allocations: 74.2 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.006872, allocations: 4.188 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.00186/0.008732, allocations: 0.51 MB / 384.4 MB, free: 12.09 MB / 362.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 -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: 3.2113802381791174]