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.002329/0.002328, allocations: 185.5 kB / 16.4 MB, free: 5.75 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.942/1.942, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001125/0.001125, allocations: 100.3 kB / 270.9 MB, free: 8.371 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.4996/0.4996, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004743, allocations: 16 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5886, allocations: 85.06 MB / 0.5618 GB, free: 1.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.589, allocations: 59.97 kB / 0.5618 GB, free: 1.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005159/0.5942, allocations: 1.032 MB / 0.5629 GB, free: 436 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.5943, allocations: 0 / 0.5629 GB, free: 436 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.5943, allocations: 0 / 0.5629 GB, free: 436 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.0004385/0.5948, allocations: 350.8 kB / 0.5632 GB, free: 40 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5948, allocations: 8.031 kB / 0.5632 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.5949, allocations: 7.938 kB / 0.5632 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.5952, allocations: 178.3 kB / 0.5634 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.5953, allocations: 4 kB / 0.5634 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.5953, allocations: 7.984 kB / 0.5634 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.5956, allocations: 78.44 kB / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5957, allocations: 0 / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.5957, allocations: 0 / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5957, allocations: 4 kB / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.596, allocations: 28.95 kB / 0.5635 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.5968, allocations: 448.2 kB / 0.5639 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.5971, allocations: 42.56 kB / 0.564 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.5972, allocations: 3.719 kB / 0.564 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.5972, allocations: 38.56 kB / 0.564 GB, free: 15.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.206e-06/0.5973, allocations: 0 / 0.564 GB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.000954/0.5982, allocations: 117.5 kB / 0.5641 GB, free: 14.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.5983, allocations: 55.36 kB / 0.5642 GB, free: 14.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.5985, allocations: 102.4 kB / 0.5643 GB, free: 14.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5985, allocations: 37.7 kB / 0.5643 GB, free: 14.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5987, allocations: 154.5 kB / 0.5644 GB, free: 14.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.5987, allocations: 19.75 kB / 0.5645 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.5987, allocations: 2.812 kB / 0.5645 GB, free: 14.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5989, allocations: 314.8 kB / 0.5648 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5991, allocations: 12 kB / 0.5648 GB, free: 14.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.5993, allocations: 51.36 kB / 0.5648 GB, free: 14.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.5994, allocations: 23.98 kB / 0.5649 GB, free: 14.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5995, allocations: 0 / 0.5649 GB, free: 14.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004083/0.5999, allocations: 81.64 kB / 0.5649 GB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5999, allocations: 4 kB / 0.5649 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.6, allocations: 4.5 kB / 0.5649 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6, allocations: 0 / 0.5649 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.6002, allocations: 23.92 kB / 0.565 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6002, allocations: 0 / 0.565 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.6004, allocations: 8.453 kB / 0.565 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.6004, allocations: 4 kB / 0.565 GB, free: 14.04 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 0.0001489/0.6006, allocations: 117.9 kB / 0.5651 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.6006, allocations: 7.906 kB / 0.5651 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.6007, allocations: 3.906 kB / 0.5651 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6007, allocations: 4 kB / 0.5651 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6007, allocations: 0.625 kB / 0.5651 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.6008, allocations: 4.359 kB / 0.5651 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.6011, allocations: 173.6 kB / 0.5653 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6012, allocations: 0 / 0.5653 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.6014, allocations: 12.88 kB / 0.5653 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6014, allocations: 0 / 0.5653 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.6014, allocations: 7.062 kB / 0.5653 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.6015, allocations: 0 / 0.5653 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.6015, allocations: 7.922 kB / 0.5653 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.602, allocations: 179.5 kB / 0.5655 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.6021, allocations: 81.02 kB / 0.5655 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.6022, allocations: 10.78 kB / 0.5656 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.6024, allocations: 4.938 kB / 0.5656 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.6024, allocations: 7.984 kB / 0.5656 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.6025, allocations: 0 / 0.5656 GB, free: 13.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.716e-05/0.6026, allocations: 91.64 kB / 0.5657 GB, free: 13.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.6026, allocations: 0 / 0.5657 GB, free: 13.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005759/0.6032, allocations: 8.281 kB / 0.5657 GB, free: 13.24 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.0001904/0.6034, allocations: 91.25 kB / 0.5657 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.6038, allocations: 47.92 kB / 0.5658 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6038, allocations: 3.938 kB / 0.5658 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.604, allocations: 23.92 kB / 0.5658 GB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.6044, allocations: 11.94 kB / 0.5658 GB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.6052, allocations: 202.2 kB / 0.566 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.6057, allocations: 0.6887 MB / 0.5667 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.6058, allocations: 11.44 kB / 0.5667 GB, free: 12.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6058, allocations: 0.5469 kB / 0.5667 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Templates: time 0.004083/0.6099, allocations: 0.7721 MB / 0.5675 GB, free: 11.35 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