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.001253/0.001253, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001397/0.001397, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2352/0.2352, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 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 0.001939/0.001939, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3623, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002973/0.3653, allocations: 1.562 MB / 0.5633 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002628/0.3656, allocations: 63.8 kB / 0.5634 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.3656, allocations: 7.938 kB / 0.5634 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3657, allocations: 7.938 kB / 0.5634 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.3658, allocations: 7.922 kB / 0.5634 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.3659, allocations: 19.97 kB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.366, allocations: 39.86 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3661, allocations: 7.938 kB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.3662, allocations: 15.92 kB / 0.5635 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.3662, allocations: 11.94 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3663, allocations: 4 kB / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.3663, allocations: 0 / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.3663, allocations: 19.91 kB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.3663, allocations: 11.94 kB / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3664, allocations: 31.56 kB / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3664, allocations: 0 / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3664, allocations: 0 / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3664, allocations: 0 / 0.5636 GB, free: 2.363 MB / 398.1 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.0004726/0.3669, allocations: 280.9 kB / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3669, allocations: 15.97 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.367, allocations: 4.891 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3672, allocations: 118.5 kB / 0.564 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.3672, allocations: 8.375 kB / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3672, allocations: 8.297 kB / 0.564 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3674, allocations: 68.83 kB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3674, allocations: 192 / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3674, allocations: 3.938 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3674, allocations: 0 / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.322e-05/0.3675, allocations: 31.91 kB / 0.5641 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.368, allocations: 388.9 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3682, allocations: 50.44 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.3682, allocations: 12.86 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3682, allocations: 7.938 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3683, allocations: 30.56 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3683, allocations: 0 / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004963/0.3688, allocations: 113.6 kB / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3688, allocations: 51.41 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.3689, allocations: 113.8 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3689, allocations: 25.7 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.369, allocations: 96.08 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.369, allocations: 19.83 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.369, allocations: 21.72 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3692, allocations: 322.8 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.3693, allocations: 11.98 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.3693, allocations: 43.42 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3694, allocations: 59.36 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3695, allocations: 4 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.3696, allocations: 85.83 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3696, allocations: 8 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3696, allocations: 0 / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3697, allocations: 4.031 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.3697, allocations: 15.98 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3697, allocations: 96 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.3698, allocations: 8 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.3698, allocations: 11.94 kB / 0.5655 GB, free: 152 kB / 398.1 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 8.643e-05/0.3699, allocations: 113.8 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.3699, allocations: 7.953 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.3699, allocations: 8 kB / 0.5656 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.3699, allocations: 7.984 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3699, allocations: 3.938 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3699, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3701, allocations: 117.2 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3701, allocations: 0 / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.3702, allocations: 12 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3702, allocations: 384 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3702, allocations: 4 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3702, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3702, allocations: 3.984 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3704, allocations: 175.4 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.3704, allocations: 3.953 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3705, allocations: 8.031 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.3705, allocations: 3.984 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3705, allocations: 4.062 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.3705, allocations: 7.938 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.3706, allocations: 91.27 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3706, allocations: 0 / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3708, allocations: 4 kB / 0.5661 GB, free: 15.52 MB / 414.1 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.801e-05/0.3709, allocations: 91.25 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.371, allocations: 43.91 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.371, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.3711, allocations: 16.19 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3713, allocations: 14.42 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.3717, allocations: 157.9 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.432e-05/0.3718, allocations: 71.33 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.3718, allocations: 0 / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.3718, allocations: 11.44 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3718, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Templates: time 0.002822/0.3746, allocations: 0.5053 MB / 0.5669 GB, free: 14.57 MB / 414.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.007162928988691]