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.0009455/0.0009455, allocations: 80.8 kB / 21.49 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.0009717/0.0009717, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9393/0.9393, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2547/0.2547, allocations: 34.26 MB / 296.1 MB, free: 0.707 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 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.206e-05, allocations: 3.078 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.005458/0.00548, allocations: 1.601 MB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000238/0.005718, allocations: 75.7 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.005781, allocations: 4 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.778e-05/0.005879, allocations: 7.875 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.005914, allocations: 3.938 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.006028, allocations: 15.98 kB / 326.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.006121, allocations: 39.86 kB / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.006199, allocations: 15.97 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.006251, allocations: 15.98 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.006304, allocations: 11.92 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.006323, allocations: 4 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.006332, allocations: 7.938 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.006348, allocations: 4 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.006369, allocations: 12.55 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.725e-05/0.006456, allocations: 27.91 kB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006458, allocations: 0 / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006459, allocations: 3.938 kB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.006462, allocations: 0 / 327.1 MB, free: 5.852 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.0002873/0.00675, allocations: 250.2 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.017e-05/0.00684, allocations: 8.031 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.006867, allocations: 8.922 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.006993, allocations: 125.7 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.007001, allocations: 384 / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.007024, allocations: 12.31 kB / 327.5 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.007128, allocations: 73.53 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.007135, allocations: 192 / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.007142, allocations: 384 / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.007147, allocations: 4.375 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.007175, allocations: 23.86 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.007456, allocations: 328.5 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.01056, allocations: 34.53 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.01058, allocations: 12.92 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.01059, allocations: 0 / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.01061, allocations: 30.66 kB / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.01061, allocations: 0 / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002697/0.01088, allocations: 90.11 kB / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.01091, allocations: 51.41 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.01098, allocations: 118.6 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.01099, allocations: 25.7 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.01103, allocations: 96.06 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.01104, allocations: 11.91 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.01107, allocations: 17.72 kB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.743e-05/0.01115, allocations: 318.8 kB / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.01116, allocations: 4 kB / 328.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.01119, allocations: 39.41 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.01124, allocations: 43.36 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01124, allocations: 0 / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.859e-05/0.01132, allocations: 57.56 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01133, allocations: 10.28 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01134, allocations: 4 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.01135, allocations: 0 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.0114, allocations: 15.92 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.0114, allocations: 8.094 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.01143, allocations: 4 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.01143, allocations: 4 kB / 328.9 MB, free: 3.863 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 6.396e-05/0.0115, allocations: 109.8 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.01152, allocations: 7.984 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.01154, allocations: 15.88 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01155, allocations: 0 / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01155, allocations: 4 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.01155, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.01178, allocations: 73.88 kB / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01178, allocations: 4 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.01182, allocations: 8 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01183, allocations: 4 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.01183, allocations: 0 / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01183, allocations: 0 / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01184, allocations: 7.922 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.01195, allocations: 143.5 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.01195, allocations: 7.953 kB / 329.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.01197, allocations: 3.984 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.01201, allocations: 4 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.01202, allocations: 7.875 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.01202, allocations: 8.031 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.796e-05/0.01204, allocations: 20.83 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01204, allocations: 0 / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.01223, allocations: 4 kB / 329.3 MB, free: 3.387 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 7.002e-05/0.0123, allocations: 76.14 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.819e-05/0.01236, allocations: 32.78 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01237, allocations: 0 / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.01238, allocations: 13.23 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.01254, allocations: 12.17 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.01278, allocations: 153.5 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.01281, allocations: 55.36 kB / 329.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.01284, allocations: 3.984 kB / 329.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.01288, allocations: 55.38 kB / 329.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01288, allocations: 3.938 kB / 329.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of Templates: time 0.003643/0.01652, allocations: 0.5177 MB / 330.2 MB, free: 2.43 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 -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.943858005106449]