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.002029/0.002029, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002786/0.002786, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.676/1.676, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2312/0.2312, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 67.91 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3703, allocations: 65.46 MB / 0.5574 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003341/0.3737, allocations: 1.559 MB / 0.559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003831/0.3741, allocations: 63.8 kB / 0.559 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3742, allocations: 7.938 kB / 0.559 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3743, allocations: 7.922 kB / 0.559 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.683e-05/0.3744, allocations: 3.938 kB / 0.559 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.3745, allocations: 23.97 kB / 0.5591 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3747, allocations: 39.86 kB / 0.5591 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3748, allocations: 15.92 kB / 0.5591 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.3749, allocations: 8 kB / 0.5591 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.3749, allocations: 15.86 kB / 0.5591 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.375, allocations: 0 / 0.5591 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.375, allocations: 4 kB / 0.5591 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.375, allocations: 4 kB / 0.5591 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.375, allocations: 19.86 kB / 0.5592 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3752, allocations: 34.56 kB / 0.5592 GB, free: 5.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3752, allocations: 0 / 0.5592 GB, free: 5.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3752, allocations: 4 kB / 0.5592 GB, free: 5.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3752, allocations: 0 / 0.5592 GB, free: 5.645 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.0005682/0.3758, allocations: 277.9 kB / 0.5595 GB, free: 5.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3758, allocations: 12.03 kB / 0.5595 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3758, allocations: 4.891 kB / 0.5595 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.3761, allocations: 122.5 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3761, allocations: 384 / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3761, allocations: 8.312 kB / 0.5596 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3763, allocations: 72.81 kB / 0.5597 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3763, allocations: 8.172 kB / 0.5597 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3764, allocations: 3.938 kB / 0.5597 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3764, allocations: 0 / 0.5597 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3765, allocations: 27.92 kB / 0.5597 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.377, allocations: 392.8 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3772, allocations: 46.44 kB / 0.5601 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.3772, allocations: 16.94 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3773, allocations: 4 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3773, allocations: 38.5 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3773, allocations: 0 / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004809/0.3778, allocations: 105.5 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3778, allocations: 55.41 kB / 0.5603 GB, free: 4.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.3779, allocations: 113.8 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.378, allocations: 25.7 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.378, allocations: 92.09 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.378, allocations: 15.84 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.3781, allocations: 29.7 kB / 0.5606 GB, free: 4.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3782, allocations: 318.8 kB / 0.5609 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.3783, allocations: 11.98 kB / 0.5609 GB, free: 3.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.3784, allocations: 47.41 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3785, allocations: 55.36 kB / 0.561 GB, free: 3.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3785, allocations: 0 / 0.561 GB, free: 3.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002632/0.3788, allocations: 93.5 kB / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3788, allocations: 10.5 kB / 0.5611 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3788, allocations: 4 kB / 0.5611 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3788, allocations: 0 / 0.5611 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.3789, allocations: 15.98 kB / 0.5611 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3789, allocations: 0 / 0.5611 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.3789, allocations: 4 kB / 0.5611 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3789, allocations: 4 kB / 0.5611 GB, free: 3.441 MB / 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 9.577e-05/0.379, allocations: 117.9 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.379, allocations: 11.94 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.3791, allocations: 8 kB / 0.5613 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3791, allocations: 7.938 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3791, allocations: 0 / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3791, allocations: 384 / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.3792, allocations: 117.2 kB / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3792, allocations: 0 / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.3793, allocations: 11.98 kB / 0.5614 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3793, allocations: 3.938 kB / 0.5614 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3793, allocations: 4.359 kB / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3793, allocations: 8 kB / 0.5614 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3793, allocations: 0 / 0.5614 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3796, allocations: 171.5 kB / 0.5616 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.3796, allocations: 11.88 kB / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3796, allocations: 0 / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.3797, allocations: 8.031 kB / 0.5616 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.3797, allocations: 0 / 0.5616 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.3797, allocations: 7.938 kB / 0.5616 GB, free: 2.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.205e-05/0.3798, allocations: 91.27 kB / 0.5617 GB, free: 2.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3798, allocations: 0 / 0.5617 GB, free: 2.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.38, allocations: 8.062 kB / 0.5617 GB, free: 2.801 MB / 398.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 0.000106/0.3801, allocations: 91.25 kB / 0.5618 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.3803, allocations: 39.91 kB / 0.5618 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3803, allocations: 4 kB / 0.5618 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.3804, allocations: 15.98 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3806, allocations: 13.94 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.381, allocations: 162.2 kB / 0.562 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.309e-05/0.3811, allocations: 67.34 kB / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.997e-05/0.3811, allocations: 0 / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.3812, allocations: 11.44 kB / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3812, allocations: 0 / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of Templates: time 0.002951/0.3841, allocations: 481.3 kB / 0.5626 GB, free: 1.883 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.2980870474129915]