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.001028/0.001028, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009964/0.0009964, allocations: 166.9 kB / 24.91 MB, free: 9.152 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.9597/0.9597, 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.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.2469/0.2469, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.352e-06/1.352e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.214e-05, allocations: 2.312 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002362/0.002384, allocations: 1.595 MB / 324.8 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.002655, allocations: 67.73 kB / 324.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.002728, allocations: 7.938 kB / 324.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.002839, allocations: 3.938 kB / 324.9 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.044e-05/0.002869, allocations: 0 / 324.9 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.002978, allocations: 27.91 kB / 324.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.309e-05/0.003061, allocations: 43.84 kB / 324.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.003138, allocations: 4.625 kB / 324.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.003185, allocations: 15.92 kB / 325 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.003252, allocations: 11.98 kB / 325 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.00327, allocations: 4 kB / 325 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.003279, allocations: 4 kB / 325 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.003296, allocations: 7.922 kB / 325 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.003313, allocations: 8 kB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.964e-05/0.003402, allocations: 31.83 kB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003404, allocations: 4 kB / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003405, allocations: 0 / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003408, allocations: 0 / 325 MB, free: 7.898 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.0002907/0.003699, allocations: 254 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.003738, allocations: 12.03 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.003763, allocations: 4.938 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.003887, allocations: 121.7 kB / 325.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.003894, allocations: 384 / 325.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.003914, allocations: 4.375 kB / 325.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.004015, allocations: 89.48 kB / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.004021, allocations: 4.125 kB / 325.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004029, allocations: 4.359 kB / 325.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004033, allocations: 384 / 325.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.004057, allocations: 19.94 kB / 325.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.004316, allocations: 332.5 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.004407, allocations: 26.61 kB / 325.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.004423, allocations: 12.94 kB / 325.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.004433, allocations: 0 / 325.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.004454, allocations: 34.56 kB / 325.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004455, allocations: 0 / 325.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002565/0.004711, allocations: 78.12 kB / 326 MB, free: 6.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.004741, allocations: 51.41 kB / 326.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/0.004806, allocations: 126.6 kB / 326.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.004815, allocations: 25.7 kB / 326.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.004854, allocations: 92.08 kB / 326.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.445e-06/0.004863, allocations: 11.84 kB / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.004894, allocations: 33.62 kB / 326.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.004974, allocations: 314.8 kB / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.004987, allocations: 8 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.005013, allocations: 35.41 kB / 326.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.005056, allocations: 43.36 kB / 326.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.005057, allocations: 0 / 326.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.458e-05/0.005122, allocations: 57.61 kB / 326.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.005133, allocations: 7.938 kB / 326.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.005138, allocations: 8.094 kB / 326.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.005147, allocations: 0 / 326.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.005186, allocations: 11.94 kB / 326.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.00519, allocations: 4 kB / 326.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.005207, allocations: 0 / 326.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.005212, allocations: 4 kB / 326.8 MB, free: 5.906 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.421e-05/0.005266, allocations: 117.8 kB / 326.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.005279, allocations: 4 kB / 326.9 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.005301, allocations: 11.94 kB / 327 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.005304, allocations: 4 kB / 327 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.005306, allocations: 4 kB / 327 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005308, allocations: 0 / 327 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.154e-05/0.00539, allocations: 73.88 kB / 327 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005391, allocations: 384 / 327 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.005435, allocations: 11.98 kB / 327.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005436, allocations: 0 / 327.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.005442, allocations: 0 / 327.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005443, allocations: 0 / 327.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.005444, allocations: 3.938 kB / 327.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.005548, allocations: 155.5 kB / 327.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-06/0.005556, allocations: 7.953 kB / 327.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.005564, allocations: 4.031 kB / 327.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.005593, allocations: 4 kB / 327.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.005604, allocations: 3.938 kB / 327.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005606, allocations: 0 / 327.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.485e-05/0.005621, allocations: 20.83 kB / 327.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.005621, allocations: 0 / 327.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.005736, allocations: 12 kB / 327.3 MB, free: 5.426 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.663e-05/0.005803, allocations: 72.36 kB / 327.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.919e-05/0.005862, allocations: 28.91 kB / 327.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.005864, allocations: 4.062 kB / 327.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.005877, allocations: 20.78 kB / 327.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.006008, allocations: 12.19 kB / 327.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.006226, allocations: 148.9 kB / 327.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.006256, allocations: 57.7 kB / 327.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.006284, allocations: 11.98 kB / 327.6 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.006322, allocations: 51.38 kB / 327.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.006323, allocations: 0 / 327.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of Templates: time 0.002002/0.008326, allocations: 0.5167 MB / 328.2 MB, free: 4.465 MB / 298.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","",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.8117540180683136]