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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 176 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008767/0.0008766, allocations: 99.59 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3061/0.3061, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3524, allocations: 61.9 MB / 0.5096 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.467, allocations: 86.15 MB / 0.5937 GB, free: 8.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4673, allocations: 59.98 kB / 0.5937 GB, free: 8.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002664/0.4699, allocations: 1.049 MB / 0.5948 GB, free: 7.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4699, allocations: 0 / 0.5948 GB, free: 7.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.47, allocations: 4 kB / 0.5948 GB, free: 7.844 MB / 410.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.000371/0.4703, allocations: 347.2 kB / 0.5951 GB, free: 7.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4704, allocations: 8.031 kB / 0.5951 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.4704, allocations: 4 kB / 0.5951 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.4706, allocations: 187.1 kB / 0.5953 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4707, allocations: 0 / 0.5953 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.4707, allocations: 11.94 kB / 0.5953 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.4709, allocations: 76.14 kB / 0.5954 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4709, allocations: 0 / 0.5954 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4709, allocations: 4 kB / 0.5954 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4709, allocations: 0 / 0.5954 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.919e-05/0.471, allocations: 31.92 kB / 0.5954 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.4715, allocations: 441.2 kB / 0.5958 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.4717, allocations: 46.5 kB / 0.5959 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.4717, allocations: 0 / 0.5959 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.4718, allocations: 38.56 kB / 0.5959 GB, free: 6.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.4718, allocations: 0 / 0.5959 GB, free: 6.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004641/0.4722, allocations: 113.8 kB / 0.596 GB, free: 6.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.4723, allocations: 55.39 kB / 0.5961 GB, free: 6.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.4724, allocations: 105.2 kB / 0.5962 GB, free: 6.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4724, allocations: 25.7 kB / 0.5962 GB, free: 6.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.4725, allocations: 92.05 kB / 0.5963 GB, free: 6.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.4725, allocations: 15.75 kB / 0.5963 GB, free: 6.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4725, allocations: 384 / 0.5963 GB, free: 6.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4726, allocations: 326.8 kB / 0.5966 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.4727, allocations: 12 kB / 0.5966 GB, free: 5.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.4728, allocations: 39.42 kB / 0.5967 GB, free: 5.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.825e-05/0.4728, allocations: 35.86 kB / 0.5967 GB, free: 5.633 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4728, allocations: 0 / 0.5967 GB, free: 5.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001779/0.473, allocations: 93.45 kB / 0.5968 GB, free: 5.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.473, allocations: 4 kB / 0.5968 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4731, allocations: 4 kB / 0.5968 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4731, allocations: 0 / 0.5968 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.4731, allocations: 20.08 kB / 0.5968 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4732, allocations: 0 / 0.5968 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.4732, allocations: 4 kB / 0.5968 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.4732, allocations: 4 kB / 0.5968 GB, free: 5.5 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/0.4733, allocations: 118.3 kB / 0.5969 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.4733, allocations: 4 kB / 0.5969 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.4734, allocations: 7.906 kB / 0.5969 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4734, allocations: 7.984 kB / 0.597 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4734, allocations: 7.938 kB / 0.597 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4734, allocations: 0 / 0.597 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.4736, allocations: 165.7 kB / 0.5971 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4736, allocations: 3.953 kB / 0.5971 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.4737, allocations: 12 kB / 0.5971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4737, allocations: 0 / 0.5971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.4737, allocations: 0 / 0.5971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4737, allocations: 0 / 0.5971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4737, allocations: 0 / 0.5971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.474, allocations: 191.4 kB / 0.5973 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.474, allocations: 85.09 kB / 0.5974 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.474, allocations: 0 / 0.5974 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.039e-05/0.4741, allocations: 4 kB / 0.5974 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.4742, allocations: 7.984 kB / 0.5974 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4742, allocations: 0 / 0.5974 GB, free: 4.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.248e-05/0.4742, allocations: 95.33 kB / 0.5975 GB, free: 4.711 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4742, allocations: 0 / 0.5975 GB, free: 4.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.4744, allocations: 8 kB / 0.5975 GB, free: 4.703 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.4746, allocations: 95.25 kB / 0.5976 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.4747, allocations: 44.19 kB / 0.5976 GB, free: 4.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4748, allocations: 4.188 kB / 0.5976 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.4748, allocations: 16 kB / 0.5977 GB, free: 4.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.4751, allocations: 21.23 kB / 0.5977 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.4755, allocations: 168.7 kB / 0.5978 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4758, allocations: 0.6965 MB / 0.5985 GB, free: 3.605 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.4758, allocations: 8.125 kB / 0.5985 GB, free: 3.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.4758, allocations: 7.438 kB / 0.5985 GB, free: 3.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4758, allocations: 0 / 0.5985 GB, free: 3.59 MB / 410.7 MB Notification: Performance of Templates: time 0.002355/0.4782, allocations: 455.4 kB / 0.599 GB, free: 3.148 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches