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.00183/0.00183, allocations: 73.41 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.002628/0.002628, allocations: 161.2 kB / 24.5 MB, free: 3.719 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.527/1.527, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.2104/0.2104, allocations: 34.27 MB / 295.5 MB, free: 14.57 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+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.002166/0.002166, allocations: 67.89 kB / 443.1 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3498, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002377/0.3522, allocations: 1.564 MB / 0.4987 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000254/0.3524, allocations: 67.45 kB / 0.4988 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.3525, allocations: 0 / 0.4988 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.3526, allocations: 7.156 kB / 0.4988 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.3526, allocations: 7.938 kB / 0.4988 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.3528, allocations: 21.84 kB / 0.4988 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3529, allocations: 43.48 kB / 0.4989 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.353, allocations: 6.656 kB / 0.4989 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.353, allocations: 10.53 kB / 0.4989 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.3531, allocations: 18.02 kB / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3531, allocations: 0 / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.3531, allocations: 3.219 kB / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.3531, allocations: 2.812 kB / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.3531, allocations: 14.45 kB / 0.4989 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3532, allocations: 43.89 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3532, allocations: 0 / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3532, allocations: 0 / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3532, allocations: 0 / 0.499 GB, free: 28.63 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.0003645/0.3536, allocations: 275.5 kB / 0.4992 GB, free: 28.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.3536, allocations: 9.719 kB / 0.4993 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.3537, allocations: 12.14 kB / 0.4993 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3538, allocations: 127 kB / 0.4994 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3538, allocations: 384 / 0.4994 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3539, allocations: 15.34 kB / 0.4994 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.354, allocations: 66.89 kB / 0.4995 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.354, allocations: 192 / 0.4995 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.354, allocations: 7.938 kB / 0.4995 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.354, allocations: 0 / 0.4995 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.3541, allocations: 30.73 kB / 0.4995 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.3544, allocations: 381.2 kB / 0.4999 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.3546, allocations: 50.23 kB / 0.4999 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.3546, allocations: 22.53 kB / 0.4999 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3546, allocations: 0 / 0.4999 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.068e-05/0.3547, allocations: 37.66 kB / 0.5 GB, free: 27.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.3547, allocations: 0 / 0.5 GB, free: 27.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004075/0.3551, allocations: 108.3 kB / 0.5001 GB, free: 27.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.3551, allocations: 54.5 kB / 0.5001 GB, free: 27.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.3551, allocations: 114 kB / 0.5002 GB, free: 27.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.3551, allocations: 25.7 kB / 0.5003 GB, free: 27.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.3552, allocations: 98.55 kB / 0.5004 GB, free: 27.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.3552, allocations: 11.84 kB / 0.5004 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3552, allocations: 20.12 kB / 0.5004 GB, free: 27.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.3553, allocations: 325.4 kB / 0.5007 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.3553, allocations: 13.5 kB / 0.5007 GB, free: 26.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.3554, allocations: 47.73 kB / 0.5008 GB, free: 26.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.407e-05/0.3555, allocations: 64.73 kB / 0.5008 GB, free: 26.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3555, allocations: 0 / 0.5008 GB, free: 26.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001356/0.3556, allocations: 87.44 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3556, allocations: 6.312 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3556, allocations: 0 / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3556, allocations: 0 / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.3557, allocations: 16.27 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3557, allocations: 384 / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.3557, allocations: 7.25 kB / 0.5009 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3557, allocations: 7.281 kB / 0.5009 GB, free: 26.79 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.906e-05/0.3558, allocations: 120.9 kB / 0.501 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.3558, allocations: 7.891 kB / 0.5011 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.3558, allocations: 10.58 kB / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3558, allocations: 0 / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3558, allocations: 0 / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3558, allocations: 0 / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.356, allocations: 122.7 kB / 0.5012 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.356, allocations: 0 / 0.5012 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.356, allocations: 12.97 kB / 0.5012 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.356, allocations: 4 kB / 0.5012 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.356, allocations: 0 / 0.5012 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.356, allocations: 3.938 kB / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.356, allocations: 3.125 kB / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3562, allocations: 178.1 kB / 0.5014 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.3562, allocations: 11.89 kB / 0.5014 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3562, allocations: 0 / 0.5014 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.3563, allocations: 6.484 kB / 0.5014 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.3563, allocations: 0 / 0.5014 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3563, allocations: 3.094 kB / 0.5014 GB, free: 26.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.744e-05/0.3564, allocations: 93.16 kB / 0.5015 GB, free: 26.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3564, allocations: 0 / 0.5015 GB, free: 26.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.3566, allocations: 10.44 kB / 0.5015 GB, free: 26.26 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 5.784e-05/0.3566, allocations: 92.53 kB / 0.5016 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3568, allocations: 34.61 kB / 0.5016 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3568, allocations: 3.312 kB / 0.5016 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.3568, allocations: 17.23 kB / 0.5016 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.3571, allocations: 15.31 kB / 0.5017 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.3574, allocations: 160.9 kB / 0.5018 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.3574, allocations: 68.09 kB / 0.5019 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.3575, allocations: 3.188 kB / 0.5019 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.3575, allocations: 11.91 kB / 0.5019 GB, free: 25.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3575, allocations: 0 / 0.5019 GB, free: 25.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002582/0.3601, allocations: 463.8 kB / 0.5023 GB, free: 25.85 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/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.035638517001644]