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.001502/0.001502, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001675/0.001675, allocations: 214.4 kB / 23.73 MB, free: 4.156 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2389/0.2389, allocations: 46.95 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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.002036/0.002036, allocations: 63.91 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002959/0.3496, allocations: 1.566 MB / 0.5626 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.3499, allocations: 67.73 kB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.3499, allocations: 0 / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3501, allocations: 11.88 kB / 0.5627 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.3501, allocations: 3.938 kB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.3502, allocations: 19.97 kB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3504, allocations: 31.92 kB / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.3504, allocations: 8 kB / 0.5627 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.3505, allocations: 19.92 kB / 0.5628 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.3505, allocations: 15.86 kB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3505, allocations: 0 / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.3506, allocations: 4 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3506, allocations: 7.984 kB / 0.5628 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.3506, allocations: 11.94 kB / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.3507, allocations: 34.5 kB / 0.5628 GB, free: 2.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3507, allocations: 8 kB / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3507, allocations: 0 / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3507, allocations: 4 kB / 0.5628 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.0004957/0.3512, allocations: 277.8 kB / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3513, allocations: 8.031 kB / 0.5631 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3513, allocations: 8.891 kB / 0.5631 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3515, allocations: 118.5 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3515, allocations: 384 / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3516, allocations: 4.375 kB / 0.5632 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3517, allocations: 72.75 kB / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3517, allocations: 4.188 kB / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3518, allocations: 7.938 kB / 0.5633 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3518, allocations: 0 / 0.5633 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.605e-05/0.3519, allocations: 23.98 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.3524, allocations: 392.8 kB / 0.5637 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3526, allocations: 46.5 kB / 0.5638 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.3526, allocations: 16.94 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3527, allocations: 0 / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3527, allocations: 46.5 kB / 0.5638 GB, free: 1.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3527, allocations: 3.938 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004615/0.3531, allocations: 101.5 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.3532, allocations: 51.41 kB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.848e-05/0.3533, allocations: 125.7 kB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3533, allocations: 25.7 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.3534, allocations: 92.08 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.3534, allocations: 15.84 kB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3534, allocations: 17.72 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3536, allocations: 330.8 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.3536, allocations: 15.98 kB / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.3537, allocations: 35.44 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3538, allocations: 63.34 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3538, allocations: 0 / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.354, allocations: 85.56 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.354, allocations: 8 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.354, allocations: 0 / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.354, allocations: 384 / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.3541, allocations: 15.94 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3541, allocations: 3.984 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.3541, allocations: 8 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.3541, allocations: 0 / 0.5648 GB, free: 172 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 0.0001061/0.3543, allocations: 121.8 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3543, allocations: 8.047 kB / 0.5649 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.3543, allocations: 8 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3543, allocations: 0 / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3543, allocations: 0 / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3543, allocations: 4 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.3545, allocations: 121.2 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3545, allocations: 0 / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.3546, allocations: 12 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3546, allocations: 0 / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3546, allocations: 0 / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3546, allocations: 160 / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3546, allocations: 4 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.3548, allocations: 191.4 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.3548, allocations: 4.328 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3548, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.3549, allocations: 7.984 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.3549, allocations: 0 / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3549, allocations: 3.938 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.355, allocations: 91.27 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.355, allocations: 0 / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.3552, allocations: 8 kB / 0.5653 GB, free: 15.53 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 9.558e-05/0.3553, allocations: 99.31 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.3554, allocations: 35.91 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3554, allocations: 0 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.3555, allocations: 19.94 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3557, allocations: 15.92 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.3561, allocations: 154 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.3562, allocations: 71.52 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.075e-05/0.3562, allocations: 4 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.3563, allocations: 11.44 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3563, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Templates: time 0.003366/0.3596, allocations: 488 kB / 0.5662 GB, free: 14.61 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/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.336681107059121]