Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001637/0.001637, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.002502/0.002502, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 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.444/1.444, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2209/0.2209, allocations: 46.89 MB / 361.1 MB, free: 4.645 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-beta.om/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_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 84.2 kB / 0.4967 GB, free: 8.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.33, allocations: 65.98 MB / 0.5612 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002299/0.3323, allocations: 1.576 MB / 0.5627 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002208/0.3325, allocations: 71.33 kB / 0.5628 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.3326, allocations: 3.656 kB / 0.5628 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3327, allocations: 9.5 kB / 0.5628 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.974e-05/0.3327, allocations: 3.938 kB / 0.5628 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.3329, allocations: 22.44 kB / 0.5628 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.333, allocations: 45.78 kB / 0.5629 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.3331, allocations: 9.344 kB / 0.5629 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.3331, allocations: 14.56 kB / 0.5629 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.3332, allocations: 15.27 kB / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3332, allocations: 4.625 kB / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.3332, allocations: 3.031 kB / 0.5629 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3332, allocations: 4 kB / 0.5629 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.3332, allocations: 14.97 kB / 0.5629 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.468e-05/0.3333, allocations: 36.22 kB / 0.563 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3333, allocations: 0 / 0.563 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3333, allocations: 0 / 0.563 GB, free: 33.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3333, allocations: 2.625 kB / 0.563 GB, free: 33.3 MB / 446.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.0003505/0.3337, allocations: 356.2 kB / 0.5633 GB, free: 32.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3337, allocations: 16.61 kB / 0.5633 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.3338, allocations: 8.016 kB / 0.5633 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3339, allocations: 184.9 kB / 0.5635 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3339, allocations: 384 / 0.5635 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.3339, allocations: 3.531 kB / 0.5635 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3341, allocations: 68.06 kB / 0.5636 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3341, allocations: 192 / 0.5636 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3341, allocations: 8.25 kB / 0.5636 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3341, allocations: 3.938 kB / 0.5636 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.3342, allocations: 26.5 kB / 0.5636 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.3345, allocations: 447.1 kB / 0.564 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3347, allocations: 38.41 kB / 0.5641 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.3347, allocations: 21.33 kB / 0.5641 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.3347, allocations: 0 / 0.5641 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.3347, allocations: 37.78 kB / 0.5641 GB, free: 32.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3347, allocations: 0 / 0.5641 GB, free: 32.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004/0.3351, allocations: 109.9 kB / 0.5642 GB, free: 32.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.573e-05/0.3352, allocations: 51.94 kB / 0.5643 GB, free: 31.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.3352, allocations: 124.4 kB / 0.5644 GB, free: 31.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.3352, allocations: 25.7 kB / 0.5644 GB, free: 31.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.3353, allocations: 91.31 kB / 0.5645 GB, free: 31.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.3353, allocations: 22.45 kB / 0.5645 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3353, allocations: 17 kB / 0.5646 GB, free: 31.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.3353, allocations: 321.4 kB / 0.5649 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.3354, allocations: 17.06 kB / 0.5649 GB, free: 31.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.3354, allocations: 39.72 kB / 0.5649 GB, free: 31.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.3355, allocations: 68.77 kB / 0.565 GB, free: 31.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3355, allocations: 0 / 0.565 GB, free: 31.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001341/0.3357, allocations: 81.69 kB / 0.5651 GB, free: 31.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3357, allocations: 6.625 kB / 0.5651 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3357, allocations: 3.219 kB / 0.5651 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3357, allocations: 0 / 0.5651 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.3357, allocations: 19.5 kB / 0.5651 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3357, allocations: 0 / 0.5651 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.3358, allocations: 10.48 kB / 0.5651 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3358, allocations: 3.438 kB / 0.5651 GB, free: 31.25 MB / 446.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 4.588e-05/0.3358, allocations: 116.8 kB / 0.5652 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.3359, allocations: 7.922 kB / 0.5652 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.3359, allocations: 11.89 kB / 0.5652 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3359, allocations: 0.5938 kB / 0.5652 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3359, allocations: 0 / 0.5652 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.3359, allocations: 87.52 kB / 0.5653 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3359, allocations: 0 / 0.5653 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.336, allocations: 7 kB / 0.5653 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.336, allocations: 0 / 0.5653 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001885/0.3362, allocations: 148.8 kB / 0.5655 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001889/0.3364, allocations: 264.4 kB / 0.5657 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.474e-05/0.3364, allocations: 17.06 kB / 0.5657 GB, free: 30.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.501e-05/0.3364, allocations: 85.84 kB / 0.5658 GB, free: 30.58 MB / 446.1 MB Notification: Performance of Backend: time 1.71e-07/0.3364, allocations: 0 / 0.5658 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3368, allocations: 98.48 kB / 0.5659 GB, free: 30.51 MB / 446.1 MB Notification: Performance of SimCode: time 0.000341/0.3371, allocations: 0.6051 MB / 0.5665 GB, free: 29.9 MB / 446.1 MB Notification: Performance of Templates: time 0.002694/0.3398, allocations: 0.5431 MB / 0.567 GB, free: 29.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.776841557119042]