Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 223.6 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00074/0.00074, allocations: 85.08 kB / 271.9 MB, free: 8.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3187/0.3187, allocations: 43.56 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 12 kB / 432.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1105, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/0.4083, allocations: 85.08 MB / 0.563 GB, free: 1.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001632/0.4085, allocations: 59.97 kB / 0.5631 GB, free: 1.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002126/0.4106, allocations: 1.038 MB / 0.5641 GB, free: 308 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4106, allocations: 0 / 0.5641 GB, free: 308 kB / 378.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.4107, allocations: 7.938 kB / 0.5641 GB, free: 300 kB / 378.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.0002827/0.4109, allocations: 347 kB / 0.5644 GB, free: 15.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.411, allocations: 8.031 kB / 0.5644 GB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.411, allocations: 8.922 kB / 0.5644 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.4112, allocations: 177.5 kB / 0.5646 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4112, allocations: 4.375 kB / 0.5646 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.4112, allocations: 4.375 kB / 0.5646 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4114, allocations: 76.77 kB / 0.5647 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.4114, allocations: 192 / 0.5647 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4114, allocations: 3.938 kB / 0.5647 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4114, allocations: 0 / 0.5647 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.4115, allocations: 32.53 kB / 0.5647 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.412, allocations: 445.1 kB / 0.5651 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4121, allocations: 51.58 kB / 0.5652 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.4122, allocations: 13.62 kB / 0.5652 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.4122, allocations: 4 kB / 0.5652 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.4123, allocations: 34.5 kB / 0.5652 GB, free: 14.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.4123, allocations: 0 / 0.5652 GB, free: 14.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004218/0.4127, allocations: 113.6 kB / 0.5654 GB, free: 14.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.4127, allocations: 59.41 kB / 0.5654 GB, free: 14.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.4128, allocations: 119.6 kB / 0.5655 GB, free: 14.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4129, allocations: 29.7 kB / 0.5656 GB, free: 14.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.4129, allocations: 92.03 kB / 0.5656 GB, free: 14.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.4129, allocations: 15.75 kB / 0.5657 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.4129, allocations: 0 / 0.5657 GB, free: 14.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4131, allocations: 318.8 kB / 0.566 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.4131, allocations: 19.98 kB / 0.566 GB, free: 14.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.4132, allocations: 43.42 kB / 0.566 GB, free: 14.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4133, allocations: 67.36 kB / 0.5661 GB, free: 14.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4133, allocations: 0 / 0.5661 GB, free: 14.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001474/0.4135, allocations: 85.52 kB / 0.5662 GB, free: 13.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4135, allocations: 4 kB / 0.5662 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4135, allocations: 0.875 kB / 0.5662 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4135, allocations: 4 kB / 0.5662 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.4136, allocations: 16.02 kB / 0.5662 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4136, allocations: 10.97 kB / 0.5662 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.4136, allocations: 8 kB / 0.5662 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.4136, allocations: 0 / 0.5662 GB, free: 13.88 MB / 394.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 7.774e-05/0.4137, allocations: 117.8 kB / 0.5663 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.4138, allocations: 4 kB / 0.5663 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.4138, allocations: 7.891 kB / 0.5663 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4138, allocations: 1.375 kB / 0.5663 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4138, allocations: 0 / 0.5663 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4138, allocations: 4 kB / 0.5663 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.414, allocations: 173.6 kB / 0.5665 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.414, allocations: 1.031 kB / 0.5665 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.4141, allocations: 8 kB / 0.5665 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4141, allocations: 3.828 kB / 0.5665 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4141, allocations: 4 kB / 0.5665 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4141, allocations: 7.984 kB / 0.5665 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4141, allocations: 3.125 kB / 0.5665 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.4143, allocations: 187.7 kB / 0.5667 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.4144, allocations: 81.02 kB / 0.5668 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.4144, allocations: 0 / 0.5668 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/0.4145, allocations: 8.016 kB / 0.5668 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.4145, allocations: 8.031 kB / 0.5668 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.4145, allocations: 4.375 kB / 0.5668 GB, free: 13.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.4146, allocations: 99.27 kB / 0.5669 GB, free: 13.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4146, allocations: 0 / 0.5669 GB, free: 13.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.4148, allocations: 4 kB / 0.5669 GB, free: 13.08 MB / 394.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.0001112/0.4149, allocations: 103.2 kB / 0.567 GB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.4151, allocations: 43.91 kB / 0.567 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4151, allocations: 192 / 0.567 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/0.4151, allocations: 27.94 kB / 0.5671 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4154, allocations: 11.64 kB / 0.5671 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.4158, allocations: 192.6 kB / 0.5673 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.416, allocations: 0.6887 MB / 0.5679 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.4161, allocations: 11.44 kB / 0.568 GB, free: 11.95 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4161, allocations: 4 kB / 0.568 GB, free: 11.95 MB / 394.7 MB Notification: Performance of Templates: time 0.001882/0.418, allocations: 0.7747 MB / 0.5687 GB, free: 11.18 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches