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.0007661/0.0007661, allocations: 80.17 kB / 9.913 MB, free: 0.7734 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009982/0.001764, allocations: 443.8 kB / 10.35 MB, free: 348 kB / 10.45 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.000894/0.000894, allocations: 161.1 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009666/0.001861, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.8738/0.8738, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1675/1.041, allocations: 49.5 MB / 220.5 MB, free: 5.262 MB / 218.7 MB " [Timeout remaining time 179] 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.1289/0.1289, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02421/0.1531, allocations: 12.3 MB / 265.9 MB, free: 7.816 MB / 266.7 MB " [Timeout remaining time 180] 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.432e-06/1.432e-06, allocations: 0 / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.879e-05, allocations: 6.25 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001956/0.001975, allocations: 1.629 MB / 268.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001102/0.002085, allocations: 59.73 kB / 268.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.00214, allocations: 7.938 kB / 268.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.111e-05/0.002201, allocations: 3.938 kB / 268.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.246e-05/0.002233, allocations: 4 kB / 268.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.553e-05/0.002299, allocations: 15.98 kB / 268.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.002388, allocations: 47.78 kB / 269 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.002462, allocations: 15.92 kB / 269 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.002522, allocations: 19.92 kB / 269 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.002574, allocations: 11.92 kB / 269 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.002595, allocations: 4 kB / 269 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.002603, allocations: 0 / 269 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.002617, allocations: 4 kB / 269 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.002638, allocations: 15.94 kB / 269 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.745e-05/0.002726, allocations: 23.91 kB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.00274, allocations: 4 kB / 269.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.002743, allocations: 4 kB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.002753, allocations: 0 / 269.1 MB, free: 4.652 MB / 266.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.0003169/0.00307, allocations: 256.5 kB / 269.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.003099, allocations: 12.02 kB / 269.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.003123, allocations: 4.938 kB / 269.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.003245, allocations: 117.8 kB / 269.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.003253, allocations: 8.312 kB / 269.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.00327, allocations: 4.328 kB / 269.5 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.003374, allocations: 85.5 kB / 269.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.00338, allocations: 192 / 269.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.003385, allocations: 384 / 269.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.00339, allocations: 4.375 kB / 269.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.003416, allocations: 15.86 kB / 269.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.003669, allocations: 328.7 kB / 269.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.643e-05/0.003765, allocations: 34.5 kB / 269.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.00378, allocations: 8.844 kB / 269.9 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.003786, allocations: 4 kB / 269.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.003803, allocations: 34.56 kB / 270 MB, free: 3.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.003804, allocations: 0 / 270 MB, free: 3.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002414/0.004046, allocations: 81.52 kB / 270 MB, free: 3.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.004073, allocations: 55.41 kB / 270.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.004129, allocations: 118.7 kB / 270.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.004138, allocations: 25.7 kB / 270.2 MB, free: 3.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.004175, allocations: 92.09 kB / 270.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.004188, allocations: 19.83 kB / 270.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.004213, allocations: 21.7 kB / 270.4 MB, free: 3.188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.004277, allocations: 326.8 kB / 270.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.004287, allocations: 4 kB / 270.7 MB, free: 2.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.004306, allocations: 23.44 kB / 270.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.004343, allocations: 39.36 kB / 270.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004344, allocations: 4 kB / 270.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.878e-05/0.004403, allocations: 61.55 kB / 270.8 MB, free: 2.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.004416, allocations: 11.94 kB / 270.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004421, allocations: 8.031 kB / 270.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.004427, allocations: 0 / 270.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.004472, allocations: 12 kB / 270.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.004476, allocations: 0 / 270.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.004497, allocations: 11.98 kB / 270.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.0045, allocations: 0 / 270.9 MB, free: 2.656 MB / 266.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 5.131e-05/0.004552, allocations: 121.8 kB / 271 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.004564, allocations: 4 kB / 271 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.004582, allocations: 7.938 kB / 271 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004583, allocations: 0 / 271 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004585, allocations: 4 kB / 271 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.004589, allocations: 7.984 kB / 271 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.683e-05/0.004666, allocations: 69.91 kB / 271.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004667, allocations: 0 / 271.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.928e-05/0.004756, allocations: 11.98 kB / 271.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.004766, allocations: 7.953 kB / 271.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.004767, allocations: 0 / 271.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.004773, allocations: 3.938 kB / 271.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.004774, allocations: 0 / 271.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004775, allocations: 0 / 271.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.004877, allocations: 151.8 kB / 271.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.004886, allocations: 8.031 kB / 271.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.004915, allocations: 3.938 kB / 271.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.004938, allocations: 8.016 kB / 271.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.004941, allocations: 4 kB / 271.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.147e-05/0.004952, allocations: 8.859 kB / 271.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004952, allocations: 0 / 271.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001108/0.005063, allocations: 12 kB / 271.3 MB, free: 2.188 MB / 266.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 5.905e-05/0.005122, allocations: 76.41 kB / 271.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.604e-05/0.005178, allocations: 24.86 kB / 271.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.005184, allocations: 7.984 kB / 271.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.005197, allocations: 8.859 kB / 271.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.005331, allocations: 15.94 kB / 271.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.005801, allocations: 164.2 kB / 271.6 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.005832, allocations: 55.36 kB / 271.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.244e-05/0.005854, allocations: 7.984 kB / 271.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.005892, allocations: 51.5 kB / 271.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.005893, allocations: 4 kB / 271.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of Templates: time 0.00207/0.007963, allocations: 0.6436 MB / 272.3 MB, free: 1.078 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.552735005505383]