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.001036/0.001036, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00302/0.004056, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001399/0.001399, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004556/0.005955, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.13/1.13, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.235, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.3439/0.3439, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0317/0.3756, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.593e-06/1.593e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.678e-05, allocations: 6.969 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002784/0.002811, allocations: 1.652 MB / 292.2 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.003014, allocations: 66.92 kB / 292.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.003073, allocations: 1.562 kB / 292.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.43e-05/0.003137, allocations: 3.938 kB / 292.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.003169, allocations: 9.156 kB / 292.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.952e-05/0.003259, allocations: 17.05 kB / 292.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.00336, allocations: 34.84 kB / 292.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003463, allocations: 27.67 kB / 292.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.003538, allocations: 21.23 kB / 292.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.003605, allocations: 10.95 kB / 292.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.003627, allocations: 2.719 kB / 292.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.003637, allocations: 2.406 kB / 292.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.003658, allocations: 4 kB / 292.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.003685, allocations: 9.469 kB / 292.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003802, allocations: 26.31 kB / 292.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.003819, allocations: 0 / 292.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.003821, allocations: 1.031 kB / 292.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.003838, allocations: 0 / 292.5 MB, free: 6.152 MB / 282.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.0004286/0.004266, allocations: 260.5 kB / 292.7 MB, free: 5.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.00431, allocations: 13.2 kB / 292.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.00434, allocations: 4.688 kB / 292.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.004503, allocations: 119.9 kB / 292.9 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.004514, allocations: 6.844 kB / 292.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.004542, allocations: 2.812 kB / 292.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.004689, allocations: 76.05 kB / 293 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.004696, allocations: 192 / 293 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004703, allocations: 1.656 kB / 293 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.004712, allocations: 9.516 kB / 293 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.004748, allocations: 18.98 kB / 293 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.005124, allocations: 333.9 kB / 293.3 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.005231, allocations: 28.92 kB / 293.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.005247, allocations: 7.453 kB / 293.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.005261, allocations: 1.188 kB / 293.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.005286, allocations: 36.11 kB / 293.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/0.005288, allocations: 0 / 293.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003074/0.005595, allocations: 80.02 kB / 293.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.005633, allocations: 51.41 kB / 293.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.00571, allocations: 122.1 kB / 293.6 MB, free: 5.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005721, allocations: 26.73 kB / 293.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.00577, allocations: 95.45 kB / 293.8 MB, free: 4.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.005782, allocations: 9.938 kB / 293.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.005815, allocations: 28 kB / 293.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.005915, allocations: 320.8 kB / 294.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.005927, allocations: 2 kB / 294.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.005961, allocations: 31.42 kB / 294.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.006016, allocations: 43.36 kB / 294.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006017, allocations: 0 / 294.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.597e-05/0.006103, allocations: 65.69 kB / 294.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.006119, allocations: 8.875 kB / 294.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006125, allocations: 2.969 kB / 294.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.006134, allocations: 3.984 kB / 294.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.006197, allocations: 10.78 kB / 294.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.0062, allocations: 7 kB / 294.3 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.00622, allocations: 0 / 294.3 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.006229, allocations: 2 kB / 294.3 MB, free: 4.383 MB / 282.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.01e-05/0.006299, allocations: 126.6 kB / 294.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.006315, allocations: 5.047 kB / 294.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.00634, allocations: 10.03 kB / 294.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006343, allocations: 0 / 294.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006344, allocations: 0 / 294.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.006351, allocations: 6.312 kB / 294.4 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.006463, allocations: 72.98 kB / 294.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.006465, allocations: 4 kB / 294.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-05/0.006565, allocations: 14.11 kB / 294.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.006575, allocations: 3.719 kB / 294.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006577, allocations: 0 / 294.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.006585, allocations: 3.938 kB / 294.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.006586, allocations: 0 / 294.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.006588, allocations: 3.906 kB / 294.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.006733, allocations: 156.6 kB / 294.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.006744, allocations: 1.594 kB / 294.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.006778, allocations: 8.062 kB / 294.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.006792, allocations: 4.016 kB / 294.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.006795, allocations: 4 kB / 294.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.645e-05/0.006811, allocations: 12.86 kB / 294.7 MB, free: 3.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006811, allocations: 0 / 294.7 MB, free: 3.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001228/0.006934, allocations: 8 kB / 294.7 MB, free: 3.949 MB / 282.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 8.162e-05/0.007016, allocations: 76.41 kB / 294.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.007093, allocations: 24.8 kB / 294.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.0071, allocations: 0 / 294.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.007115, allocations: 20.83 kB / 294.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.007274, allocations: 12.19 kB / 294.8 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.007713, allocations: 149.5 kB / 295 MB, free: 3.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.96e-05/0.007753, allocations: 59.34 kB / 295 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.784e-05/0.00779, allocations: 4 kB / 295 MB, free: 3.551 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.007845, allocations: 55.38 kB / 295.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.007846, allocations: 0 / 295.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of Templates: time 0.002732/0.01058, allocations: 0.575 MB / 295.7 MB, free: 2.938 MB / 282.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 -ignoreHideResult -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","",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.143795406445861]