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.001892/0.001892, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002316/0.002316, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2261/0.2261, allocations: 44.94 MB / 359.6 MB, free: 6.07 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.002059/0.002059, allocations: 67.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 65.47 MB / 0.5582 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003079/0.3239, allocations: 1.555 MB / 0.5597 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003011/0.3242, allocations: 67.8 kB / 0.5598 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.3243, allocations: 3.938 kB / 0.5598 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3244, allocations: 11.92 kB / 0.5598 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.3244, allocations: 3.938 kB / 0.5598 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3246, allocations: 23.91 kB / 0.5598 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3247, allocations: 39.86 kB / 0.5598 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3248, allocations: 11.98 kB / 0.5598 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.3249, allocations: 7.938 kB / 0.5599 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.3249, allocations: 15.92 kB / 0.5599 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.325, allocations: 4 kB / 0.5599 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.325, allocations: 0 / 0.5599 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.325, allocations: 11.94 kB / 0.5599 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.325, allocations: 15.94 kB / 0.5599 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.3252, allocations: 34.55 kB / 0.5599 GB, free: 5.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3252, allocations: 3.938 kB / 0.5599 GB, free: 5.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3252, allocations: 0 / 0.5599 GB, free: 5.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3252, allocations: 0 / 0.5599 GB, free: 5.715 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.0005053/0.3257, allocations: 273.9 kB / 0.5602 GB, free: 5.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3257, allocations: 16.02 kB / 0.5602 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.3257, allocations: 4.891 kB / 0.5602 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.326, allocations: 118.5 kB / 0.5603 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.326, allocations: 12.38 kB / 0.5603 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.326, allocations: 8.312 kB / 0.5604 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3262, allocations: 68.83 kB / 0.5604 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3262, allocations: 192 / 0.5604 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3262, allocations: 3.938 kB / 0.5604 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3263, allocations: 3.984 kB / 0.5604 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.3263, allocations: 27.92 kB / 0.5605 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.3269, allocations: 388.9 kB / 0.5608 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3271, allocations: 50.44 kB / 0.5609 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.3271, allocations: 16.84 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3271, allocations: 4 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3272, allocations: 34.64 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3272, allocations: 0 / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005015/0.3277, allocations: 109.4 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3277, allocations: 51.41 kB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3278, allocations: 117.8 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3278, allocations: 29.7 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.3279, allocations: 92.09 kB / 0.5613 GB, free: 4.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3279, allocations: 15.84 kB / 0.5613 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.328, allocations: 25.7 kB / 0.5613 GB, free: 4.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3282, allocations: 318.8 kB / 0.5616 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.3282, allocations: 11.98 kB / 0.5617 GB, free: 3.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.3283, allocations: 43.42 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.3284, allocations: 63.36 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3284, allocations: 0 / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001814/0.3286, allocations: 89.5 kB / 0.5618 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3286, allocations: 6.656 kB / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3286, allocations: 0 / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3286, allocations: 7.938 kB / 0.5619 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.683e-05/0.3287, allocations: 11.98 kB / 0.5619 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3287, allocations: 0 / 0.5619 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.3287, allocations: 8.094 kB / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.3287, allocations: 4 kB / 0.5619 GB, free: 3.512 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 0.0001042/0.3288, allocations: 117.8 kB / 0.562 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3289, allocations: 3.953 kB / 0.562 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3289, allocations: 19.92 kB / 0.562 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3289, allocations: 0 / 0.562 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3289, allocations: 0 / 0.562 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3289, allocations: 0 / 0.562 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3291, allocations: 117.2 kB / 0.5621 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3291, allocations: 0 / 0.5621 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.3291, allocations: 19.98 kB / 0.5621 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3291, allocations: 4 kB / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3291, allocations: 0 / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3291, allocations: 0 / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3291, allocations: 384 / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3294, allocations: 171.8 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.3295, allocations: 11.94 kB / 0.5623 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3295, allocations: 4.031 kB / 0.5623 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.3295, allocations: 7.938 kB / 0.5623 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.3296, allocations: 7.969 kB / 0.5623 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3296, allocations: 8.062 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.3296, allocations: 91.27 kB / 0.5624 GB, free: 2.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3296, allocations: 0 / 0.5624 GB, free: 2.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3299, allocations: 4 kB / 0.5624 GB, free: 2.871 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.0001017/0.33, allocations: 91.25 kB / 0.5625 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.3301, allocations: 43.91 kB / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3302, allocations: 0 / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.862e-05/0.3302, allocations: 16.17 kB / 0.5626 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.3305, allocations: 15.88 kB / 0.5626 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.3309, allocations: 179.7 kB / 0.5628 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.027e-05/0.331, allocations: 71.33 kB / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.331, allocations: 11.44 kB / 0.5629 GB, free: 2.391 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.331, allocations: 3.938 kB / 0.5629 GB, free: 2.387 MB / 398.1 MB Notification: Performance of Templates: time 0.002407/0.3334, allocations: 0.7759 MB / 0.5636 GB, free: 1.613 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/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: 7.497658575884998]