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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007559/0.0007559, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001855, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002338, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8789/0.8789, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/1.04, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.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.1536/0.1536, allocations: 32.8 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01837/0.172, allocations: 12.53 MB / 284.5 MB, free: 9.73 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.333e-06/1.333e-06, allocations: 0 / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.094e-05, allocations: 5.266 kB / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001899/0.00191, allocations: 1.643 MB / 287.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 9.818e-05/0.002008, allocations: 63.8 kB / 287.5 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.002053, allocations: 0 / 287.5 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.002098, allocations: 7.875 kB / 287.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.002128, allocations: 3.938 kB / 287.5 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.385e-05/0.002192, allocations: 19.97 kB / 287.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.00228, allocations: 39.86 kB / 287.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.002342, allocations: 4 kB / 287.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.548e-05/0.002397, allocations: 23.97 kB / 287.6 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.00244, allocations: 11.92 kB / 287.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.002457, allocations: 4 kB / 287.6 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.002465, allocations: 8 kB / 287.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.00248, allocations: 7.938 kB / 287.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.002498, allocations: 7.938 kB / 287.7 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.069e-05/0.002578, allocations: 31.84 kB / 287.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.002587, allocations: 0 / 287.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002588, allocations: 0 / 287.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.002598, allocations: 0 / 287.7 MB, free: 6.559 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.0002956/0.002894, allocations: 256.6 kB / 288 MB, free: 6.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.002919, allocations: 8.031 kB / 288 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.002943, allocations: 4.938 kB / 288 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.00306, allocations: 129.7 kB / 288.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.003066, allocations: 4.375 kB / 288.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.003085, allocations: 4.375 kB / 288.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.003178, allocations: 81.45 kB / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.003185, allocations: 192 / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.003193, allocations: 384 / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.003197, allocations: 384 / 288.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.003223, allocations: 23.86 kB / 288.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.003462, allocations: 324.6 kB / 288.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.762e-05/0.00356, allocations: 38.53 kB / 288.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.003576, allocations: 17 kB / 288.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.003581, allocations: 0 / 288.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.003599, allocations: 34.56 kB / 288.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.82e-07/0.003599, allocations: 0 / 288.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002257/0.003825, allocations: 81.61 kB / 288.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.003848, allocations: 51.41 kB / 288.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/0.003899, allocations: 118.6 kB / 288.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.003909, allocations: 29.69 kB / 288.9 MB, free: 5.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.00394, allocations: 96.08 kB / 289 MB, free: 5.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.003951, allocations: 11.91 kB / 289 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.0041, allocations: 25.69 kB / 289 MB, free: 5.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.004165, allocations: 318.8 kB / 289.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-06/0.004174, allocations: 4 kB / 289.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.004196, allocations: 35.41 kB / 289.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.004231, allocations: 39.36 kB / 289.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004232, allocations: 0 / 289.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.39e-05/0.004286, allocations: 61.56 kB / 289.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004297, allocations: 11.94 kB / 289.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.004301, allocations: 0 / 289.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.00431, allocations: 0 / 289.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-05/0.004353, allocations: 19.98 kB / 289.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.004356, allocations: 160 / 289.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.004375, allocations: 4 kB / 289.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-06/0.004378, allocations: 0 / 289.5 MB, free: 4.562 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 4.613e-05/0.004424, allocations: 113.8 kB / 289.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.004438, allocations: 12.08 kB / 289.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.004459, allocations: 11.94 kB / 289.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.00446, allocations: 0 / 289.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.004462, allocations: 3.938 kB / 289.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004464, allocations: 0 / 289.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.935e-05/0.004543, allocations: 73.88 kB / 289.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.004545, allocations: 4 kB / 289.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.209e-05/0.004617, allocations: 15.98 kB / 289.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.004624, allocations: 4 kB / 289.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.004625, allocations: 0 / 289.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.004631, allocations: 7.938 kB / 289.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.004632, allocations: 3.984 kB / 289.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004633, allocations: 0 / 289.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.833e-05/0.004721, allocations: 143.5 kB / 289.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.00473, allocations: 4 kB / 289.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.004759, allocations: 7.938 kB / 289.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.004777, allocations: 0 / 289.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-06/0.004778, allocations: 3.938 kB / 289.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.508e-05/0.004793, allocations: 20.83 kB / 289.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004793, allocations: 0 / 289.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000118/0.004911, allocations: 8 kB / 289.9 MB, free: 4.086 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 5.6e-05/0.004967, allocations: 80.45 kB / 290 MB, free: 4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.00502, allocations: 25.06 kB / 290 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.005025, allocations: 4 kB / 290 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/0.005044, allocations: 13 kB / 290 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.005197, allocations: 71.52 kB / 290.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.00561, allocations: 168.2 kB / 290.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.005639, allocations: 55.64 kB / 290.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.00566, allocations: 15.98 kB / 290.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.005702, allocations: 55.38 kB / 290.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005703, allocations: 0 / 290.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of Templates: time 0.001874/0.007576, allocations: 0.6658 MB / 291.1 MB, free: 2.887 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6031514331698418]