Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009407/0.0009407, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9854/0.9854, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3252/0.3252, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.416e-05, allocations: 6.312 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002661/0.002685, allocations: 1.644 MB / 327.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.002924, allocations: 67.73 kB / 327.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.002986, allocations: 0 / 327.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.709e-05/0.003083, allocations: 11.92 kB / 327.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.003116, allocations: 11.92 kB / 327.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.003222, allocations: 15.98 kB / 327.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.713e-05/0.003309, allocations: 36.48 kB / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.00339, allocations: 11.98 kB / 327.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.00344, allocations: 23.91 kB / 327.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.003491, allocations: 4 kB / 327.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003505, allocations: 0 / 327.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.003513, allocations: 4 kB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.003533, allocations: 7.984 kB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.003549, allocations: 11.94 kB / 327.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.394e-05/0.003643, allocations: 39.78 kB / 327.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.003646, allocations: 3.984 kB / 327.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003647, allocations: 0 / 327.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.003651, allocations: 0 / 327.8 MB, free: 5.242 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.0003589/0.00401, allocations: 250.2 kB / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.004041, allocations: 8.031 kB / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.00407, allocations: 8.922 kB / 328.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.004208, allocations: 117.7 kB / 328.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.004219, allocations: 8.375 kB / 328.2 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.004239, allocations: 8.359 kB / 328.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.004356, allocations: 85.45 kB / 328.3 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004364, allocations: 192 / 328.3 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.004371, allocations: 384 / 328.3 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.004378, allocations: 4.375 kB / 328.3 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.706e-05/0.004405, allocations: 15.86 kB / 328.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.004689, allocations: 328.6 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/0.004783, allocations: 34.62 kB / 328.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.004798, allocations: 12.8 kB / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.004808, allocations: 0 / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.004828, allocations: 34.56 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.004829, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002618/0.00509, allocations: 78.33 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.005116, allocations: 51.41 kB / 328.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.005181, allocations: 126.1 kB / 329 MB, free: 3.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005192, allocations: 29.7 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.005238, allocations: 88.08 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.005251, allocations: 19.89 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.005283, allocations: 21.72 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.005366, allocations: 322.8 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.005379, allocations: 7.938 kB / 329.5 MB, free: 3.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.005405, allocations: 27.42 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.005456, allocations: 43.34 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.005457, allocations: 4 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.737e-05/0.005534, allocations: 53.56 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.005549, allocations: 16.03 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005553, allocations: 0 / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.005566, allocations: 0 / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.005619, allocations: 19.98 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.005622, allocations: 0 / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.005648, allocations: 4 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005653, allocations: 0 / 329.6 MB, free: 3.258 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 0.0001716/0.005824, allocations: 113.8 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.005847, allocations: 11.98 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.005869, allocations: 8.312 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.005871, allocations: 4 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.005873, allocations: 0 / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005876, allocations: 0 / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.005991, allocations: 77.86 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.005993, allocations: 7.938 kB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.006075, allocations: 15.98 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006077, allocations: 0 / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.006084, allocations: 4 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.006087, allocations: 3.938 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.006088, allocations: 0 / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.006214, allocations: 147.5 kB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.006224, allocations: 7.953 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.006235, allocations: 4 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.006283, allocations: 7.938 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.006295, allocations: 0 / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.006298, allocations: 0 / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.668e-05/0.006314, allocations: 20.78 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006314, allocations: 0 / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.006498, allocations: 8 kB / 330.1 MB, free: 2.777 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.375e-05/0.006572, allocations: 72.42 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.99e-05/0.006642, allocations: 36.8 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.006645, allocations: 3.938 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.006658, allocations: 8.859 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.006824, allocations: 15.98 kB / 330.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.007063, allocations: 145.7 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.88e-05/0.007102, allocations: 55.36 kB / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.393e-05/0.007136, allocations: 3.984 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.007185, allocations: 55.56 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007186, allocations: 4 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of Templates: time 0.002318/0.009503, allocations: 0.5547 MB / 331 MB, free: 1.781 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.966869291383773]