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.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.001812/0.001812, allocations: 96.2 kB / 20.21 MB, free: 4.199 MB / 18.57 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.002152/0.002152, allocations: 161.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2254/0.2254, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.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_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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.608e-05, allocations: 2.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002176/0.002212, allocations: 1.554 MB / 348.5 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002278/0.00244, allocations: 55.75 kB / 348.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.002527, allocations: 7.938 kB / 348.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.002661, allocations: 7.922 kB / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.002698, allocations: 0 / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.002818, allocations: 19.92 kB / 348.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.002911, allocations: 39.86 kB / 348.6 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003012, allocations: 11.97 kB / 348.6 MB, free: 8.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.003062, allocations: 23.92 kB / 348.6 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.003107, allocations: 7.984 kB / 348.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.003125, allocations: 4 kB / 348.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.003134, allocations: 4 kB / 348.6 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.00315, allocations: 7.938 kB / 348.7 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.003176, allocations: 4 kB / 348.7 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003277, allocations: 39.81 kB / 348.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.00328, allocations: 0 / 348.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003281, allocations: 0 / 348.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.003286, allocations: 4 kB / 348.7 MB, free: 8.027 MB / 282.7 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.0003892/0.003675, allocations: 270.3 kB / 349 MB, free: 7.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.003712, allocations: 12.02 kB / 349 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.003758, allocations: 8.891 kB / 349 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.003936, allocations: 129.7 kB / 349.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.003951, allocations: 8.359 kB / 349.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.003974, allocations: 384 / 349.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.004106, allocations: 68.83 kB / 349.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.004115, allocations: 4.188 kB / 349.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.004124, allocations: 384 / 349.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.00413, allocations: 4.375 kB / 349.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.004208, allocations: 35.84 kB / 349.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.004565, allocations: 392.8 kB / 349.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.004718, allocations: 38.56 kB / 349.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.004762, allocations: 16.86 kB / 349.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.004775, allocations: 0 / 349.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.004789, allocations: 34.5 kB / 349.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.00479, allocations: 3.938 kB / 349.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004605/0.005251, allocations: 117.6 kB / 349.8 MB, free: 6.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.005272, allocations: 51.41 kB / 349.9 MB, free: 6.707 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.005336, allocations: 109.8 kB / 350 MB, free: 6.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.005343, allocations: 25.7 kB / 350 MB, free: 6.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.005381, allocations: 100 kB / 350.1 MB, free: 6.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.005393, allocations: 15.91 kB / 350.1 MB, free: 6.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.005422, allocations: 17.72 kB / 350.1 MB, free: 6.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.005475, allocations: 318.8 kB / 350.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.00552, allocations: 12 kB / 350.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.005565, allocations: 47.36 kB / 350.5 MB, free: 6.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.81e-05/0.005653, allocations: 59.36 kB / 350.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.005654, allocations: 0 / 350.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001417/0.005796, allocations: 89.5 kB / 350.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.005809, allocations: 4.094 kB / 350.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.005814, allocations: 8 kB / 350.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.005836, allocations: 0 / 350.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.005895, allocations: 11.98 kB / 350.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.0059, allocations: 4 kB / 350.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.005936, allocations: 3.938 kB / 350.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.005943, allocations: 8 kB / 350.7 MB, free: 5.824 MB / 282.7 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 6.442e-05/0.006007, allocations: 113.8 kB / 350.8 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.006033, allocations: 12.31 kB / 350.8 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.006056, allocations: 4 kB / 350.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.006057, allocations: 4 kB / 350.8 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.006062, allocations: 0 / 350.8 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006066, allocations: 3.984 kB / 350.8 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.006171, allocations: 121.3 kB / 350.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006172, allocations: 0 / 350.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.006252, allocations: 11.98 kB / 351 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.006254, allocations: 3.938 kB / 351 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.006262, allocations: 0 / 351 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006263, allocations: 0 / 351 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006264, allocations: 0 / 351 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.006463, allocations: 187.5 kB / 351.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.006476, allocations: 15.81 kB / 351.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.006491, allocations: 4 kB / 351.2 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.006553, allocations: 4 kB / 351.2 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.006588, allocations: 0 / 351.2 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.006592, allocations: 0 / 351.2 MB, free: 5.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.006629, allocations: 95.27 kB / 351.3 MB, free: 5.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006629, allocations: 0 / 351.3 MB, free: 5.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.006866, allocations: 8 kB / 351.3 MB, free: 5.191 MB / 282.7 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 6.446e-05/0.006931, allocations: 99.31 kB / 351.4 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.007067, allocations: 35.91 kB / 351.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007069, allocations: 0 / 351.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.00711, allocations: 19.98 kB / 351.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.007394, allocations: 8 kB / 351.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.007784, allocations: 160.3 kB / 351.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.007828, allocations: 75.42 kB / 351.7 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.956e-05/0.007858, allocations: 4 kB / 351.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.007887, allocations: 12.5 kB / 351.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007888, allocations: 0 / 351.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of Templates: time 0.003028/0.01092, allocations: 0.5603 MB / 352.2 MB, free: 4.18 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.7914550070418045]