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.001396/0.001396, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.00124/0.00124, allocations: 165.5 kB / 24.82 MB, free: 9.258 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.9458/0.9458, allocations: 177 MB / 205.1 MB, free: 5.48 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.243/0.243, allocations: 34.86 MB / 296.6 MB, free: 452 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.223e-06/1.223e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.145e-05, allocations: 3.156 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001709/0.00172, allocations: 1.596 MB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002045/0.001925, allocations: 75.72 kB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.001977, allocations: 0 / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.411e-05/0.002061, allocations: 3.938 kB / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.719e-05/0.002088, allocations: 7.875 kB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.702e-05/0.002185, allocations: 27.97 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.002256, allocations: 31.86 kB / 381 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.002327, allocations: 11.94 kB / 381 MB, free: 40 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.002367, allocations: 19.97 kB / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.00241, allocations: 11.92 kB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.002422, allocations: 0 / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.002429, allocations: 7.938 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.002455, allocations: 4.078 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.00247, allocations: 11.98 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.001e-05/0.00254, allocations: 23.83 kB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002542, allocations: 0 / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.41e-07/0.002543, allocations: 4 kB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.002545, allocations: 0 / 381.1 MB, free: 15.96 MB / 362.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.0002841/0.002829, allocations: 376.5 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.002861, allocations: 12.03 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.002882, allocations: 4.938 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.002985, allocations: 132.5 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.002991, allocations: 384 / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.003009, allocations: 16.3 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.003098, allocations: 82 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.003103, allocations: 8.125 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.00311, allocations: 4.375 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003115, allocations: 384 / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.003137, allocations: 15.88 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.003422, allocations: 0.4983 MB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.289e-05/0.003505, allocations: 42.98 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.003526, allocations: 11.69 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.003538, allocations: 4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.003554, allocations: 37.39 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.003555, allocations: 0 / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000235/0.00379, allocations: 85.52 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.003812, allocations: 51.41 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.003881, allocations: 173.9 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.00389, allocations: 29.7 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.00394, allocations: 138.8 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.003948, allocations: 11.91 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.003975, allocations: 23.36 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.004074, allocations: 0.4884 MB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.004084, allocations: 8 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.00411, allocations: 42.73 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.004151, allocations: 50.67 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.004152, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.07e-05/0.004222, allocations: 77.5 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004233, allocations: 11.94 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004237, allocations: 0 / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.004245, allocations: 4.469 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.457e-05/0.004279, allocations: 12 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.004282, allocations: 0 / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.004302, allocations: 7.984 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.004306, allocations: 0 / 383.5 MB, free: 13.27 MB / 362.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.954e-05/0.004366, allocations: 172.5 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.004381, allocations: 7.922 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.004399, allocations: 8 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.0044, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.004402, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004405, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.685e-05/0.004491, allocations: 113.2 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.004492, allocations: 0 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.004529, allocations: 11.98 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.00453, allocations: 0 / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.004536, allocations: 0 / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.00454, allocations: 11.94 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.00454, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.004662, allocations: 195.9 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.004668, allocations: 11.89 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.004678, allocations: 4 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.004708, allocations: 11.95 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.004718, allocations: 4 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.004719, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.004752, allocations: 131.2 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004752, allocations: 0 / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001353/0.004887, allocations: 4 kB / 384.2 MB, free: 12.54 MB / 362.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.639e-05/0.004944, allocations: 95.25 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.125e-05/0.005005, allocations: 31.59 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.005006, allocations: 192 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.00502, allocations: 19.69 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.005189, allocations: 11.98 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.00539, allocations: 150 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.785e-05/0.005417, allocations: 55.36 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.029e-05/0.005438, allocations: 3.984 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.005479, allocations: 74.2 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005479, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of Templates: time 0.001604/0.007083, allocations: 0.5085 MB / 385.1 MB, free: 11.53 MB / 362.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 -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.8609078493900597]