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.001741/0.001741, allocations: 73.48 kB / 21.24 MB, free: 0.5547 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.002072/0.002072, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.486/1.486, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.2092/0.2092, allocations: 32.81 MB / 294.1 MB, free: 4 kB / 270.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.002187/0.002187, allocations: 63.91 kB / 440.5 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.351, allocations: 65.45 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002354/0.3533, allocations: 1.563 MB / 0.4957 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.3536, allocations: 77.92 kB / 0.4957 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.3536, allocations: 4 kB / 0.4957 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3537, allocations: 3.938 kB / 0.4957 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.3538, allocations: 7.062 kB / 0.4958 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.3539, allocations: 22.77 kB / 0.4958 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.354, allocations: 35.92 kB / 0.4958 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.3541, allocations: 3.281 kB / 0.4958 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.3541, allocations: 17.39 kB / 0.4958 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.3541, allocations: 14.23 kB / 0.4958 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.3542, allocations: 3.062 kB / 0.4958 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.3542, allocations: 3.188 kB / 0.4958 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.3542, allocations: 11.92 kB / 0.4959 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.3542, allocations: 14.47 kB / 0.4959 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.3543, allocations: 32.45 kB / 0.4959 GB, free: 30.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3543, allocations: 3.281 kB / 0.4959 GB, free: 30.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3543, allocations: 0 / 0.4959 GB, free: 30.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3543, allocations: 0 / 0.4959 GB, free: 30.16 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.0003176/0.3546, allocations: 277.1 kB / 0.4962 GB, free: 29.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.3546, allocations: 9.25 kB / 0.4962 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.3547, allocations: 7.984 kB / 0.4962 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3548, allocations: 130.9 kB / 0.4963 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.3548, allocations: 3.312 kB / 0.4963 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3548, allocations: 7.406 kB / 0.4963 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.355, allocations: 64.23 kB / 0.4964 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.355, allocations: 3.125 kB / 0.4964 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.355, allocations: 7.938 kB / 0.4964 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.355, allocations: 0 / 0.4964 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.3551, allocations: 26.83 kB / 0.4964 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.3554, allocations: 394.7 kB / 0.4968 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3555, allocations: 44.72 kB / 0.4968 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.3556, allocations: 14.14 kB / 0.4969 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3556, allocations: 0 / 0.4969 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.3556, allocations: 37.56 kB / 0.4969 GB, free: 29.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3556, allocations: 0 / 0.4969 GB, free: 29.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003841/0.356, allocations: 105.4 kB / 0.497 GB, free: 29.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.356, allocations: 51.41 kB / 0.497 GB, free: 29.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.412e-05/0.3561, allocations: 123.6 kB / 0.4972 GB, free: 28.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.3561, allocations: 25.7 kB / 0.4972 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.3561, allocations: 91.22 kB / 0.4973 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.3561, allocations: 15.17 kB / 0.4973 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.3561, allocations: 19.56 kB / 0.4973 GB, free: 28.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.3562, allocations: 325.3 kB / 0.4976 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.3562, allocations: 21.33 kB / 0.4976 GB, free: 28.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.3563, allocations: 36.25 kB / 0.4977 GB, free: 28.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.3564, allocations: 67.94 kB / 0.4977 GB, free: 28.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3564, allocations: 0 / 0.4977 GB, free: 28.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001308/0.3565, allocations: 86.17 kB / 0.4978 GB, free: 28.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3565, allocations: 3.25 kB / 0.4978 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3565, allocations: 7 kB / 0.4978 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3565, allocations: 4.031 kB / 0.4978 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.3566, allocations: 12.67 kB / 0.4978 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3566, allocations: 7.062 kB / 0.4978 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.3566, allocations: 10.92 kB / 0.4979 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3566, allocations: 3.062 kB / 0.4979 GB, free: 28.33 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.921e-05/0.3567, allocations: 120.9 kB / 0.498 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.3567, allocations: 6.953 kB / 0.498 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.3567, allocations: 7.938 kB / 0.498 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3567, allocations: 0 / 0.498 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3567, allocations: 0 / 0.498 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3567, allocations: 3.062 kB / 0.498 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.3568, allocations: 118 kB / 0.4981 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3568, allocations: 7.125 kB / 0.4981 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.3569, allocations: 5.938 kB / 0.4981 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3569, allocations: 3.094 kB / 0.4981 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3569, allocations: 3.422 kB / 0.4981 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3569, allocations: 0 / 0.4981 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3569, allocations: 0 / 0.4981 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3571, allocations: 176.8 kB / 0.4983 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.3571, allocations: 6.828 kB / 0.4983 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3571, allocations: 3.938 kB / 0.4983 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.3572, allocations: 7.125 kB / 0.4983 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.3572, allocations: 6.328 kB / 0.4983 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.3572, allocations: 0 / 0.4983 GB, free: 27.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.836e-05/0.3572, allocations: 91.44 kB / 0.4984 GB, free: 27.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3572, allocations: 0 / 0.4984 GB, free: 27.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3575, allocations: 9.844 kB / 0.4984 GB, free: 27.8 MB / 446.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 4.849e-05/0.3575, allocations: 88.12 kB / 0.4985 GB, free: 27.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.3576, allocations: 38.64 kB / 0.4985 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3576, allocations: 4.125 kB / 0.4985 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.3577, allocations: 20.7 kB / 0.4986 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.3579, allocations: 13.72 kB / 0.4986 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.3582, allocations: 158.5 kB / 0.4987 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.3582, allocations: 67.69 kB / 0.4988 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.3583, allocations: 3.375 kB / 0.4988 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.3583, allocations: 12.03 kB / 0.4988 GB, free: 27.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3583, allocations: 4.281 kB / 0.4988 GB, free: 27.48 MB / 446.1 MB Notification: Performance of Templates: time 0.002508/0.3608, allocations: 467.1 kB / 0.4992 GB, free: 27.38 MB / 446.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 -s ida -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: 4.974753358052112]