Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 101.7 kB / 18.9 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 192.4 kB / 22.06 MB, free: 268 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.24 MB / 328.9 MB, free: 10.12 MB / 270.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 68.52 kB / 465.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1228, allocations: 61.01 MB / 0.5146 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002817/0.1256, allocations: 1.569 MB / 0.5161 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.1259, allocations: 55.8 kB / 0.5162 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1259, allocations: 4 kB / 0.5162 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.126, allocations: 3.938 kB / 0.5162 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.1261, allocations: 3.938 kB / 0.5162 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.1262, allocations: 19.97 kB / 0.5162 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1264, allocations: 47.78 kB / 0.5162 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.1265, allocations: 8 kB / 0.5162 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.1265, allocations: 15.92 kB / 0.5163 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.1265, allocations: 11.94 kB / 0.5163 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1266, allocations: 0 / 0.5163 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1266, allocations: 4 kB / 0.5163 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.1266, allocations: 11.92 kB / 0.5163 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.1266, allocations: 11.94 kB / 0.5163 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1267, allocations: 35.83 kB / 0.5163 GB, free: 6.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1267, allocations: 4 kB / 0.5163 GB, free: 6.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1267, allocations: 0 / 0.5163 GB, free: 6.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1267, allocations: 4 kB / 0.5163 GB, free: 6.176 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.000509/0.1273, allocations: 351.3 kB / 0.5167 GB, free: 5.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1273, allocations: 11.89 kB / 0.5167 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.1273, allocations: 8.891 kB / 0.5167 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1276, allocations: 192.2 kB / 0.5169 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1276, allocations: 384 / 0.5169 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1276, allocations: 4.375 kB / 0.5169 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1278, allocations: 68.83 kB / 0.5169 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1278, allocations: 192 / 0.5169 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1278, allocations: 7.922 kB / 0.517 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1278, allocations: 4 kB / 0.517 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.1279, allocations: 27.91 kB / 0.517 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.1285, allocations: 449.2 kB / 0.5174 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1287, allocations: 38.56 kB / 0.5174 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.1287, allocations: 12.86 kB / 0.5175 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1287, allocations: 12.02 kB / 0.5175 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1287, allocations: 34.56 kB / 0.5175 GB, free: 4.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1287, allocations: 0 / 0.5175 GB, free: 4.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004795/0.1292, allocations: 105.4 kB / 0.5176 GB, free: 4.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1293, allocations: 55.41 kB / 0.5177 GB, free: 4.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1294, allocations: 113.8 kB / 0.5178 GB, free: 4.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1294, allocations: 29.64 kB / 0.5178 GB, free: 4.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.1294, allocations: 96.08 kB / 0.5179 GB, free: 4.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1295, allocations: 19.84 kB / 0.5179 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1295, allocations: 21.7 kB / 0.5179 GB, free: 4.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1297, allocations: 318.8 kB / 0.5182 GB, free: 4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.1297, allocations: 15.98 kB / 0.5182 GB, free: 3.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.1298, allocations: 39.36 kB / 0.5183 GB, free: 3.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1299, allocations: 63.36 kB / 0.5183 GB, free: 3.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1299, allocations: 4 kB / 0.5183 GB, free: 3.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.1301, allocations: 81.56 kB / 0.5184 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1301, allocations: 8 kB / 0.5184 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1301, allocations: 4.094 kB / 0.5184 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1301, allocations: 0 / 0.5184 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.1302, allocations: 12 kB / 0.5184 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1302, allocations: 0 / 0.5184 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.1302, allocations: 7.984 kB / 0.5185 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1302, allocations: 0 / 0.5185 GB, free: 3.738 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 9.35e-05/0.1303, allocations: 121.7 kB / 0.5186 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.1303, allocations: 7.953 kB / 0.5186 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.1304, allocations: 7.906 kB / 0.5186 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1304, allocations: 4 kB / 0.5186 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1304, allocations: 4 kB / 0.5186 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1304, allocations: 0 / 0.5186 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1306, allocations: 173.6 kB / 0.5188 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1306, allocations: 4.375 kB / 0.5188 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.1306, allocations: 11.98 kB / 0.5188 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1306, allocations: 384 / 0.5188 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1307, allocations: 0 / 0.5188 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1307, allocations: 4 kB / 0.5188 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1307, allocations: 0 / 0.5188 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1309, allocations: 187.3 kB / 0.519 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.131, allocations: 85.09 kB / 0.519 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.131, allocations: 4 kB / 0.519 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.131, allocations: 0 / 0.519 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1311, allocations: 7.984 kB / 0.519 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1311, allocations: 0 / 0.519 GB, free: 3.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.1311, allocations: 91.22 kB / 0.5191 GB, free: 2.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1311, allocations: 4.062 kB / 0.5191 GB, free: 2.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1314, allocations: 8 kB / 0.5191 GB, free: 2.926 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.0001244/0.1315, allocations: 103.1 kB / 0.5192 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1316, allocations: 35.92 kB / 0.5193 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1316, allocations: 0 / 0.5193 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.1317, allocations: 19.98 kB / 0.5193 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.132, allocations: 13.91 kB / 0.5193 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.1324, allocations: 192.1 kB / 0.5195 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1328, allocations: 0.6846 MB / 0.5202 GB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.1328, allocations: 7.438 kB / 0.5202 GB, free: 1.809 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1328, allocations: 0 / 0.5202 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Templates: time 0.002356/0.1351, allocations: 0.7972 MB / 0.521 GB, free: 1.008 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches