Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.495/1.495, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008813/0.0008812, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2063/0.2063, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 58.87 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4883, allocations: 85.06 MB / 0.5618 GB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4885, allocations: 61.16 kB / 0.5619 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002647/0.4912, allocations: 1.037 MB / 0.5629 GB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4912, allocations: 0 / 0.5629 GB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4912, allocations: 4 kB / 0.5629 GB, free: 13.79 MB / 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.0003551/0.4916, allocations: 339 kB / 0.5632 GB, free: 13.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4916, allocations: 12.03 kB / 0.5632 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.4917, allocations: 0 / 0.5632 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.4919, allocations: 190.8 kB / 0.5634 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4919, allocations: 3.75 kB / 0.5634 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.4919, allocations: 4 kB / 0.5634 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4921, allocations: 71.39 kB / 0.5635 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4921, allocations: 0 / 0.5635 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4921, allocations: 7.984 kB / 0.5635 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4921, allocations: 0 / 0.5635 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.4923, allocations: 32.58 kB / 0.5635 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.4927, allocations: 441.7 kB / 0.5639 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4929, allocations: 41.84 kB / 0.564 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.4929, allocations: 11.92 kB / 0.564 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.493, allocations: 30.56 kB / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.493, allocations: 0 / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004654/0.4934, allocations: 116 kB / 0.5641 GB, free: 12.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.4935, allocations: 59.36 kB / 0.5642 GB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.4936, allocations: 108 kB / 0.5643 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4936, allocations: 25.7 kB / 0.5643 GB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.4936, allocations: 91.59 kB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.4937, allocations: 19.25 kB / 0.5644 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.4937, allocations: 0 / 0.5644 GB, free: 12.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4938, allocations: 314.4 kB / 0.5647 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.4939, allocations: 23.66 kB / 0.5648 GB, free: 11.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.4939, allocations: 42.92 kB / 0.5648 GB, free: 11.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.494, allocations: 23.36 kB / 0.5648 GB, free: 11.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.494, allocations: 0 / 0.5648 GB, free: 11.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001559/0.4942, allocations: 96.33 kB / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4942, allocations: 6.656 kB / 0.5649 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4942, allocations: 3.938 kB / 0.5649 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4942, allocations: 4 kB / 0.5649 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.4943, allocations: 12 kB / 0.5649 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4943, allocations: 0 / 0.5649 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.4944, allocations: 12.81 kB / 0.5649 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4944, allocations: 4.094 kB / 0.5649 GB, free: 11.55 MB / 378.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.465e-05/0.4945, allocations: 121.3 kB / 0.5651 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.4945, allocations: 4 kB / 0.5651 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.4945, allocations: 7.281 kB / 0.5651 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4945, allocations: 0 / 0.5651 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4945, allocations: 0 / 0.5651 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4945, allocations: 4 kB / 0.5651 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.4947, allocations: 168.4 kB / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4947, allocations: 0.875 kB / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.4948, allocations: 19.36 kB / 0.5653 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4948, allocations: 0 / 0.5653 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4948, allocations: 4 kB / 0.5653 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4949, allocations: 0 / 0.5653 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4949, allocations: 0 / 0.5653 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.4951, allocations: 198.2 kB / 0.5654 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.4952, allocations: 81.23 kB / 0.5655 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.4952, allocations: 0 / 0.5655 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.4953, allocations: 7.969 kB / 0.5655 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.4953, allocations: 7.938 kB / 0.5655 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.4953, allocations: 3.984 kB / 0.5655 GB, free: 10.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.4954, allocations: 86.91 kB / 0.5656 GB, free: 10.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4954, allocations: 0 / 0.5656 GB, free: 10.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.4956, allocations: 11.62 kB / 0.5656 GB, free: 10.78 MB / 378.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.0001202/0.4957, allocations: 103.3 kB / 0.5657 GB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.4959, allocations: 38.8 kB / 0.5658 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4959, allocations: 4 kB / 0.5658 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.4959, allocations: 19.61 kB / 0.5658 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.4961, allocations: 8.234 kB / 0.5658 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.4966, allocations: 172.8 kB / 0.566 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4968, allocations: 0.6964 MB / 0.5667 GB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.4969, allocations: 192 / 0.5667 GB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.4969, allocations: 11.44 kB / 0.5667 GB, free: 9.688 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4969, allocations: 4 kB / 0.5667 GB, free: 9.684 MB / 378.7 MB Notification: Performance of Templates: time 0.002142/0.4991, allocations: 450.9 kB / 0.5671 GB, free: 9.254 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches