Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002571, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002321, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.016/1.016, allocations: 177.4 MB / 189.9 MB, free: 4.859 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09259/1.109, allocations: 53.87 MB / 243.7 MB, free: 14.93 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2553/0.2553, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0268/0.2821, allocations: 13.23 MB / 292.6 MB, free: 6.492 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 293.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.707e-05, allocations: 7.969 kB / 293.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002811/0.002839, allocations: 1.65 MB / 295.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.003023, allocations: 67.73 kB / 295.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.003078, allocations: 0 / 295.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.441e-05/0.003143, allocations: 7.938 kB / 295.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.928e-05/0.003172, allocations: 7.875 kB / 295.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.229e-05/0.003254, allocations: 11.98 kB / 295.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.732e-05/0.003352, allocations: 39.91 kB / 295.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.003429, allocations: 15.92 kB / 295.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.003489, allocations: 19.92 kB / 295.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.003548, allocations: 11.98 kB / 295.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.00357, allocations: 7.938 kB / 295.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.003578, allocations: 0 / 295.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.003593, allocations: 4 kB / 295.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.003618, allocations: 11.94 kB / 295.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.003718, allocations: 23.91 kB / 295.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.003734, allocations: 0 / 295.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.003736, allocations: 3.938 kB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.003754, allocations: 4 kB / 295.7 MB, free: 3.324 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.0003711/0.004125, allocations: 249.7 kB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.004157, allocations: 20.91 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.004186, allocations: 4.938 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.004329, allocations: 121.7 kB / 296.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.004339, allocations: 4.375 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.004358, allocations: 384 / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.00448, allocations: 81.45 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004488, allocations: 192 / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.004495, allocations: 384 / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.004503, allocations: 4.375 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.004544, allocations: 19.86 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.004868, allocations: 336.6 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.004964, allocations: 22.58 kB / 296.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.004978, allocations: 8.859 kB / 296.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.004989, allocations: 96 / 296.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.005009, allocations: 42.48 kB / 296.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.00501, allocations: 0 / 296.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002761/0.005286, allocations: 69.88 kB / 296.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.005315, allocations: 59.34 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.005377, allocations: 123.6 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.005386, allocations: 25.7 kB / 296.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.005431, allocations: 96.08 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.005445, allocations: 15.89 kB / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.005473, allocations: 25.7 kB / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.005547, allocations: 314.8 kB / 297.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.005555, allocations: 4 kB / 297.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.005581, allocations: 35.41 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.005623, allocations: 51.34 kB / 297.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.005624, allocations: 0 / 297.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.009e-05/0.005684, allocations: 57.62 kB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.005697, allocations: 11.94 kB / 297.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005702, allocations: 0 / 297.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.00571, allocations: 3.984 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.005755, allocations: 19.88 kB / 297.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.005758, allocations: 0 / 297.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.005776, allocations: 4 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005782, allocations: 4.094 kB / 297.5 MB, free: 1.328 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 5.762e-05/0.00584, allocations: 125.8 kB / 297.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.005853, allocations: 4 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.005875, allocations: 7.938 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005876, allocations: 0 / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005878, allocations: 0 / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005881, allocations: 0 / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.058e-05/0.005961, allocations: 73.89 kB / 297.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005962, allocations: 4 kB / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.006058, allocations: 15.92 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.006067, allocations: 11.98 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006069, allocations: 0 / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.006077, allocations: 3.938 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006078, allocations: 0 / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006079, allocations: 0 / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006183, allocations: 147.5 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006193, allocations: 4 kB / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.006222, allocations: 3.938 kB / 297.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.006233, allocations: 3.984 kB / 297.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.006235, allocations: 0 / 297.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.052e-05/0.006246, allocations: 12.86 kB / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006246, allocations: 4.031 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.006368, allocations: 11.94 kB / 298 MB, free: 0.8555 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 0.0001043/0.006472, allocations: 76.97 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.943e-05/0.006552, allocations: 20.86 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.006556, allocations: 0 / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.006571, allocations: 24.77 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.006706, allocations: 15.31 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.00708, allocations: 145.8 kB / 298.2 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.007117, allocations: 63.34 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.916e-05/0.007146, allocations: 0 / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.007192, allocations: 59.31 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.007193, allocations: 0 / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of Templates: time 0.002053/0.009246, allocations: 0.5601 MB / 298.9 MB, free: 15.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.860017421655357]