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.001328/0.001328, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0012/0.0012, allocations: 168.4 kB / 24.91 MB, free: 8.262 MB / 18.57 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2514/0.2514, allocations: 32.81 MB / 294.6 MB, free: 1.258 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.448e-05, allocations: 5.938 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003301/0.003325, allocations: 1.633 MB / 324.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003039/0.003629, allocations: 75.67 kB / 325 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.003698, allocations: 0 / 325 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.003813, allocations: 3.938 kB / 325 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.003852, allocations: 7.938 kB / 325 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.003979, allocations: 23.95 kB / 325 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.004081, allocations: 39.86 kB / 325 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.004156, allocations: 4 kB / 325 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.004208, allocations: 19.92 kB / 325.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.004269, allocations: 15.97 kB / 325.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.004286, allocations: 4 kB / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.004295, allocations: 0 / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.004312, allocations: 7.938 kB / 325.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.004333, allocations: 11.98 kB / 325.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.83e-05/0.004421, allocations: 27.84 kB / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004423, allocations: 0 / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004424, allocations: 4 kB / 325.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004428, allocations: 7.938 kB / 325.1 MB, free: 7.781 MB / 298.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.0003301/0.004758, allocations: 254.1 kB / 325.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.004795, allocations: 8.031 kB / 325.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.004822, allocations: 8.938 kB / 325.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.004968, allocations: 121.7 kB / 325.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.004976, allocations: 4.375 kB / 325.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.004995, allocations: 8.375 kB / 325.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.005116, allocations: 77.44 kB / 325.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005126, allocations: 4.188 kB / 325.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.005137, allocations: 8.375 kB / 325.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005143, allocations: 384 / 325.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.005172, allocations: 11.94 kB / 325.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.005498, allocations: 336.5 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.005606, allocations: 30.56 kB / 326 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.00562, allocations: 4.859 kB / 326 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.00563, allocations: 0 / 326 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.005653, allocations: 38.62 kB / 326 MB, free: 6.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.005654, allocations: 4 kB / 326 MB, free: 6.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002859/0.00594, allocations: 73.91 kB / 326.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.00597, allocations: 55.41 kB / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.006048, allocations: 126.5 kB / 326.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.00606, allocations: 29.7 kB / 326.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.006111, allocations: 84.09 kB / 326.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.006124, allocations: 15.89 kB / 326.4 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.006158, allocations: 21.7 kB / 326.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.006247, allocations: 322.8 kB / 326.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.006264, allocations: 11.98 kB / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.00629, allocations: 23.44 kB / 326.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.006347, allocations: 51.34 kB / 326.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.006348, allocations: 0 / 326.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.26e-05/0.00643, allocations: 53.61 kB / 326.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.006446, allocations: 11.94 kB / 326.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006451, allocations: 0 / 326.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.006467, allocations: 8.094 kB / 326.9 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.006529, allocations: 11.94 kB / 326.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.006534, allocations: 3.984 kB / 326.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.006565, allocations: 4 kB / 326.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.006573, allocations: 4 kB / 326.9 MB, free: 5.789 MB / 298.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.833e-05/0.006641, allocations: 117.8 kB / 327 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.006664, allocations: 4 kB / 327 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.006689, allocations: 11.94 kB / 327.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006691, allocations: 0 / 327.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.006695, allocations: 3.984 kB / 327.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006698, allocations: 4 kB / 327.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.006817, allocations: 69.91 kB / 327.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006818, allocations: 0 / 327.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.006907, allocations: 11.98 kB / 327.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006909, allocations: 0 / 327.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.006918, allocations: 0 / 327.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.006922, allocations: 7.938 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.006924, allocations: 7.938 kB / 327.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.007059, allocations: 147.5 kB / 327.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.007069, allocations: 3.953 kB / 327.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.007081, allocations: 0 / 327.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.007135, allocations: 15.95 kB / 327.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.007146, allocations: 0 / 327.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.007149, allocations: 0 / 327.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.948e-05/0.007169, allocations: 20.84 kB / 327.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007169, allocations: 0 / 327.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.007357, allocations: 8 kB / 327.4 MB, free: 5.316 MB / 298.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 7.012e-05/0.007427, allocations: 68.42 kB / 327.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.579e-05/0.007513, allocations: 32.72 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.007518, allocations: 4.188 kB / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.007535, allocations: 20.8 kB / 327.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.007717, allocations: 8.75 kB / 327.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.007993, allocations: 144.9 kB / 327.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.008039, allocations: 59.34 kB / 327.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.891e-05/0.008068, allocations: 4 kB / 327.7 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.008117, allocations: 55.36 kB / 327.7 MB, free: 4.867 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008118, allocations: 0 / 327.7 MB, free: 4.867 MB / 298.7 MB Notification: Performance of Templates: time 0.002359/0.01048, allocations: 0.5663 MB / 328.3 MB, free: 4.316 MB / 298.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.935630941297859]