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.001382/0.001382, allocations: 199.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 96.97 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4574/0.4574, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002805, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3799, allocations: 62.96 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4934, allocations: 87.06 MB / 0.6034 GB, free: 2.234 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4936, allocations: 63.97 kB / 0.6035 GB, free: 2.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002863/0.4965, allocations: 1.037 MB / 0.6045 GB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4966, allocations: 7.938 kB / 0.6045 GB, free: 1.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.4966, allocations: 0 / 0.6045 GB, free: 1.129 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.0004553/0.497, allocations: 355.3 kB / 0.6049 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4971, allocations: 8.25 kB / 0.6049 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.4971, allocations: 4.938 kB / 0.6049 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.4973, allocations: 184.2 kB / 0.605 GB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4973, allocations: 4.375 kB / 0.605 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.4973, allocations: 384 / 0.605 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4975, allocations: 80.75 kB / 0.6051 GB, free: 412 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4975, allocations: 4.172 kB / 0.6051 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4975, allocations: 3.938 kB / 0.6051 GB, free: 404 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4976, allocations: 4 kB / 0.6051 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.4976, allocations: 27.92 kB / 0.6052 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.4981, allocations: 445.2 kB / 0.6056 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4983, allocations: 50.55 kB / 0.6056 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.4984, allocations: 16.86 kB / 0.6056 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.4984, allocations: 3.938 kB / 0.6057 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.4984, allocations: 30.56 kB / 0.6057 GB, free: 15.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4984, allocations: 0 / 0.6057 GB, free: 15.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.000498/0.4989, allocations: 117.6 kB / 0.6058 GB, free: 15.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.499, allocations: 51.41 kB / 0.6058 GB, free: 15.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.4991, allocations: 113.8 kB / 0.6059 GB, free: 15.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4991, allocations: 25.7 kB / 0.606 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.4992, allocations: 100 kB / 0.6061 GB, free: 15.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.4992, allocations: 15.75 kB / 0.6061 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.4992, allocations: 0 / 0.6061 GB, free: 15.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4994, allocations: 330.8 kB / 0.6064 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.4994, allocations: 8 kB / 0.6064 GB, free: 14.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.4995, allocations: 43.42 kB / 0.6064 GB, free: 14.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.4996, allocations: 63.36 kB / 0.6065 GB, free: 14.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4996, allocations: 0 / 0.6065 GB, free: 14.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000164/0.4998, allocations: 89.52 kB / 0.6066 GB, free: 14.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4998, allocations: 4.375 kB / 0.6066 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4998, allocations: 8.094 kB / 0.6066 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4998, allocations: 0 / 0.6066 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.4999, allocations: 19.92 kB / 0.6066 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4999, allocations: 3.938 kB / 0.6066 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.5, allocations: 4 kB / 0.6066 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5, allocations: 4 kB / 0.6066 GB, free: 14.69 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 9.096e-05/0.5001, allocations: 113.8 kB / 0.6067 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.5001, allocations: 7.938 kB / 0.6068 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.5002, allocations: 15.89 kB / 0.6068 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5002, allocations: 4 kB / 0.6068 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5002, allocations: 0 / 0.6068 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5002, allocations: 0 / 0.6068 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.5004, allocations: 173.6 kB / 0.6069 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5004, allocations: 0 / 0.6069 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.5005, allocations: 15.98 kB / 0.607 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5005, allocations: 3.938 kB / 0.607 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5005, allocations: 0 / 0.607 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5005, allocations: 0 / 0.607 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5005, allocations: 4 kB / 0.607 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.5007, allocations: 183.8 kB / 0.6071 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.5008, allocations: 81.06 kB / 0.6072 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5008, allocations: 12 kB / 0.6072 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.5009, allocations: 64 / 0.6072 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5009, allocations: 8 kB / 0.6072 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.5009, allocations: 0 / 0.6072 GB, free: 13.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.855e-05/0.501, allocations: 91.27 kB / 0.6073 GB, free: 13.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.501, allocations: 0 / 0.6073 GB, free: 13.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.5012, allocations: 8 kB / 0.6073 GB, free: 13.88 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 0.0001273/0.5013, allocations: 103.1 kB / 0.6074 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.5015, allocations: 40.03 kB / 0.6075 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5015, allocations: 4 kB / 0.6075 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.5016, allocations: 19.94 kB / 0.6075 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.5019, allocations: 13.81 kB / 0.6075 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.5023, allocations: 167 kB / 0.6077 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.5026, allocations: 0.6848 MB / 0.6083 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.5026, allocations: 4 kB / 0.6083 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.5027, allocations: 11.38 kB / 0.6083 GB, free: 12.78 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5027, allocations: 0 / 0.6083 GB, free: 12.78 MB / 426.7 MB Notification: Performance of Templates: time 0.00242/0.5051, allocations: 454.2 kB / 0.6088 GB, free: 12.34 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/jenkins1/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