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.001341/0.001341, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00148/0.00148, allocations: 174.5 kB / 25.61 MB, free: 8.902 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 0.8592/0.8592, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1323/0.1323, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.7 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 1.463e-06/1.463e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.849e-05, allocations: 2.312 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.0023/0.002319, allocations: 1.589 MB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002624/0.002581, allocations: 67.73 kB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.002652, allocations: 4 kB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.002761, allocations: 3.938 kB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.002797, allocations: 11.86 kB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.002919, allocations: 19.97 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.477e-05/0.003014, allocations: 35.86 kB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.003096, allocations: 8 kB / 381 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.00314, allocations: 11.98 kB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.003189, allocations: 19.97 kB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.003206, allocations: 4 kB / 381 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.003215, allocations: 4 kB / 381 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.003231, allocations: 3.938 kB / 381 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003249, allocations: 11.98 kB / 381.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.449e-05/0.003334, allocations: 31.78 kB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003337, allocations: 0 / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003337, allocations: 0 / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.003341, allocations: 0 / 381.1 MB, free: 21.6 MB / 314.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.0002772/0.003618, allocations: 372.6 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.003649, allocations: 12.03 kB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.003681, allocations: 16.89 kB / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.003798, allocations: 128.5 kB / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003807, allocations: 384 / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.003825, allocations: 8.375 kB / 381.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.003929, allocations: 89.92 kB / 381.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.003937, allocations: 192 / 381.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003944, allocations: 4.375 kB / 381.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.00395, allocations: 384 / 381.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.003977, allocations: 19.81 kB / 381.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.004257, allocations: 0.5022 MB / 382.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.004357, allocations: 42.98 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.004373, allocations: 11.69 kB / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.004384, allocations: 0 / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.004399, allocations: 37.39 kB / 382.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.004401, allocations: 0 / 382.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002717/0.004672, allocations: 77.58 kB / 382.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.004693, allocations: 55.41 kB / 382.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.004748, allocations: 177.9 kB / 382.6 MB, free: 19.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.004756, allocations: 33.69 kB / 382.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.00479, allocations: 134.8 kB / 382.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-06/0.0048, allocations: 15.91 kB / 382.8 MB, free: 19.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.004833, allocations: 31.34 kB / 382.8 MB, free: 19.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.004872, allocations: 496.1 kB / 383.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.004885, allocations: 4 kB / 383.3 MB, free: 19.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.004911, allocations: 46.72 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.004958, allocations: 54.69 kB / 383.4 MB, free: 19.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.00496, allocations: 0 / 383.4 MB, free: 19.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.921e-05/0.005049, allocations: 73.5 kB / 383.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005061, allocations: 10.12 kB / 383.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005066, allocations: 0 / 383.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005075, allocations: 4 kB / 383.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.005123, allocations: 8 kB / 383.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.005126, allocations: 4 kB / 383.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.005156, allocations: 3.984 kB / 383.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.005162, allocations: 8.094 kB / 383.5 MB, free: 18.91 MB / 314.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 4.448e-05/0.005207, allocations: 160.6 kB / 383.7 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.005232, allocations: 7.938 kB / 383.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.005254, allocations: 8 kB / 383.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.005256, allocations: 7.938 kB / 383.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.005258, allocations: 0 / 383.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005261, allocations: 0 / 383.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.005369, allocations: 97.25 kB / 383.8 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00537, allocations: 4 kB / 383.8 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.005419, allocations: 8 kB / 383.8 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.005422, allocations: 11.92 kB / 383.8 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.00543, allocations: 4 kB / 383.8 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.005432, allocations: 3.938 kB / 383.8 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.005433, allocations: 0 / 383.8 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.005547, allocations: 207.9 kB / 384 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.005556, allocations: 7.953 kB / 384 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.005568, allocations: 4 kB / 384.1 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.00562, allocations: 7.922 kB / 384.1 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.005632, allocations: 3.938 kB / 384.1 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.005636, allocations: 4 kB / 384.1 MB, free: 18.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.437e-05/0.00566, allocations: 127.6 kB / 384.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00566, allocations: 4 kB / 384.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.005903, allocations: 12 kB / 384.2 MB, free: 18.17 MB / 314.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.545e-05/0.005958, allocations: 87.25 kB / 384.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.006033, allocations: 36.03 kB / 384.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006034, allocations: 0 / 384.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.6e-05/0.00605, allocations: 11.78 kB / 384.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.006321, allocations: 16.27 kB / 384.4 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.006567, allocations: 156.2 kB / 384.5 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.006595, allocations: 59.22 kB / 384.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.006628, allocations: 7.984 kB / 384.6 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.006667, allocations: 74.2 kB / 384.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006668, allocations: 0 / 384.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of Templates: time 0.001944/0.008611, allocations: 0.5163 MB / 385.2 MB, free: 17.15 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7714969143271446]