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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009766/0.0009767, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.149/1.149, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008559/0.0008559, allocations: 105.8 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2592/0.2592, allocations: 45.22 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002275, allocations: 8 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2547, allocations: 63.24 MB / 0.5192 GB, free: 43.99 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08585/0.3406, allocations: 87.2 MB / 0.6043 GB, free: 2.453 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001609/0.3408, allocations: 67.97 kB / 0.6044 GB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002416/0.3432, allocations: 1.046 MB / 0.6054 GB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3433, allocations: 0 / 0.6054 GB, free: 1.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3433, allocations: 0 / 0.6054 GB, free: 1.352 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.0003065/0.3436, allocations: 354 kB / 0.6058 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3436, allocations: 8.031 kB / 0.6058 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.3437, allocations: 7.938 kB / 0.6058 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3438, allocations: 186.8 kB / 0.606 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3438, allocations: 4 kB / 0.606 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3438, allocations: 1.375 kB / 0.606 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.344, allocations: 72.83 kB / 0.606 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.344, allocations: 0.625 kB / 0.606 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.344, allocations: 0.6875 kB / 0.606 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.344, allocations: 0 / 0.606 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.3441, allocations: 37.56 kB / 0.6061 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3445, allocations: 435.6 kB / 0.6065 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3447, allocations: 47.97 kB / 0.6065 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3447, allocations: 4.516 kB / 0.6065 GB, free: 60 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3447, allocations: 31.06 kB / 0.6066 GB, free: 20 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3447, allocations: 0.6875 kB / 0.6066 GB, free: 20 kB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004249/0.3452, allocations: 114.1 kB / 0.6067 GB, free: 15.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3452, allocations: 63.36 kB / 0.6067 GB, free: 15.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.3453, allocations: 101.2 kB / 0.6068 GB, free: 15.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3453, allocations: 25.7 kB / 0.6069 GB, free: 15.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.3454, allocations: 100 kB / 0.6069 GB, free: 15.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.3454, allocations: 19.75 kB / 0.607 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.3454, allocations: 1.594 kB / 0.607 GB, free: 15.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.3455, allocations: 311.2 kB / 0.6073 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.3455, allocations: 19.98 kB / 0.6073 GB, free: 15.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.3456, allocations: 43.42 kB / 0.6073 GB, free: 15.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.3457, allocations: 23.98 kB / 0.6073 GB, free: 15.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3457, allocations: 3.938 kB / 0.6074 GB, free: 15.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001537/0.3458, allocations: 89.45 kB / 0.6074 GB, free: 15.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3459, allocations: 8 kB / 0.6074 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3459, allocations: 0 / 0.6074 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3459, allocations: 4 kB / 0.6074 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.346, allocations: 12 kB / 0.6075 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.346, allocations: 4 kB / 0.6075 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.346, allocations: 7.938 kB / 0.6075 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.346, allocations: 8.094 kB / 0.6075 GB, free: 15.02 MB / 426.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 6.697e-05/0.3461, allocations: 118.8 kB / 0.6076 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3461, allocations: 3.938 kB / 0.6076 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.3462, allocations: 15.89 kB / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3462, allocations: 0 / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3462, allocations: 0 / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3462, allocations: 0 / 0.6076 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3463, allocations: 169.6 kB / 0.6078 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3463, allocations: 4 kB / 0.6078 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.3464, allocations: 15.98 kB / 0.6078 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3464, allocations: 0 / 0.6078 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3465, allocations: 0 / 0.6078 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3465, allocations: 0 / 0.6078 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3465, allocations: 0 / 0.6078 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3467, allocations: 195.3 kB / 0.608 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.3467, allocations: 77.11 kB / 0.6081 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3468, allocations: 4 kB / 0.6081 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.3468, allocations: 8 kB / 0.6081 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.3469, allocations: 0 / 0.6081 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3469, allocations: 3.984 kB / 0.6081 GB, free: 14.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.3469, allocations: 87.28 kB / 0.6081 GB, free: 14.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3469, allocations: 0 / 0.6081 GB, free: 14.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.3471, allocations: 8 kB / 0.6082 GB, free: 14.23 MB / 426.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 8.172e-05/0.3472, allocations: 99.3 kB / 0.6083 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3474, allocations: 44.2 kB / 0.6083 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3474, allocations: 0 / 0.6083 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.3474, allocations: 19.98 kB / 0.6083 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.3476, allocations: 13.86 kB / 0.6083 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.348, allocations: 177.9 kB / 0.6085 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3482, allocations: 0.6887 MB / 0.6092 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.589e-05/0.3483, allocations: 4.188 kB / 0.6092 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.3483, allocations: 11.44 kB / 0.6092 GB, free: 13.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3483, allocations: 4 kB / 0.6092 GB, free: 13.12 MB / 426.7 MB Notification: Performance of Templates: time 0.0019/0.3502, allocations: 455.6 kB / 0.6096 GB, free: 12.68 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches