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.002198/0.002198, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 88.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.703e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3915, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5487, allocations: 84.3 MB / 0.5482 GB, free: 14.99 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.549, allocations: 63.97 kB / 0.5483 GB, free: 14.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.003927/0.5529, allocations: 1.029 MB / 0.5493 GB, free: 13.9 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.553, allocations: 0 / 0.5493 GB, free: 13.9 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.553, allocations: 0 / 0.5493 GB, free: 13.9 MB / 395.1 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.000419/0.5534, allocations: 334.5 kB / 0.5496 GB, free: 13.53 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5535, allocations: 8.031 kB / 0.5496 GB, free: 13.52 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.5536, allocations: 7.906 kB / 0.5496 GB, free: 13.51 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.5538, allocations: 178.9 kB / 0.5498 GB, free: 13.3 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.5538, allocations: 4 kB / 0.5498 GB, free: 13.29 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5539, allocations: 11.98 kB / 0.5498 GB, free: 13.28 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.7e-05/0.554, allocations: 12 kB / 0.5498 GB, free: 13.27 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5541, allocations: 56.27 kB / 0.5499 GB, free: 13.2 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5541, allocations: 0 / 0.5499 GB, free: 13.2 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.5541, allocations: 0 / 0.5499 GB, free: 13.2 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.5542, allocations: 4 kB / 0.5499 GB, free: 13.2 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.5548, allocations: 432 kB / 0.5503 GB, free: 12.73 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.555, allocations: 34.56 kB / 0.5503 GB, free: 12.69 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.555, allocations: 12.86 kB / 0.5503 GB, free: 12.67 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.555, allocations: 0 / 0.5503 GB, free: 12.67 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.5551, allocations: 34.56 kB / 0.5504 GB, free: 12.63 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 4.008e-06/0.5551, allocations: 0 / 0.5504 GB, free: 12.63 MB / 395.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003633/0.5555, allocations: 77.52 kB / 0.5504 GB, free: 12.55 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.5555, allocations: 51.41 kB / 0.5505 GB, free: 12.48 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.5556, allocations: 97.19 kB / 0.5506 GB, free: 12.38 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5557, allocations: 28.66 kB / 0.5506 GB, free: 12.35 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.5558, allocations: 162.5 kB / 0.5508 GB, free: 12.19 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.5558, allocations: 19.73 kB / 0.5508 GB, free: 12.17 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.5558, allocations: 4 kB / 0.5508 GB, free: 12.16 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.556, allocations: 318.8 kB / 0.5511 GB, free: 11.84 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.556, allocations: 8 kB / 0.5511 GB, free: 11.84 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.5561, allocations: 35.38 kB / 0.5511 GB, free: 11.79 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.5562, allocations: 16.17 kB / 0.5511 GB, free: 11.77 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5562, allocations: 4 kB / 0.5512 GB, free: 11.77 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001637/0.5563, allocations: 65.61 kB / 0.5512 GB, free: 11.7 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5564, allocations: 8 kB / 0.5512 GB, free: 11.69 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5564, allocations: 0 / 0.5512 GB, free: 11.69 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5564, allocations: 0 / 0.5512 GB, free: 11.69 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.5566, allocations: 15.98 kB / 0.5512 GB, free: 11.68 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.5566, allocations: 4.141 kB / 0.5512 GB, free: 11.67 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.5567, allocations: 4 kB / 0.5512 GB, free: 11.67 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5567, allocations: 4.094 kB / 0.5512 GB, free: 11.66 MB / 395.1 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 () * 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.291e-05/0.5568, allocations: 112.9 kB / 0.5514 GB, free: 11.55 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.5568, allocations: 4 kB / 0.5514 GB, free: 11.54 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.5569, allocations: 8.344 kB / 0.5514 GB, free: 11.53 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5569, allocations: 0 / 0.5514 GB, free: 11.53 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5569, allocations: 3.984 kB / 0.5514 GB, free: 11.53 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5569, allocations: 0 / 0.5514 GB, free: 11.53 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.5571, allocations: 146.5 kB / 0.5515 GB, free: 11.35 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5572, allocations: 4 kB / 0.5515 GB, free: 11.34 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.5573, allocations: 11.98 kB / 0.5515 GB, free: 11.33 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.5573, allocations: 4 kB / 0.5515 GB, free: 11.33 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5573, allocations: 4.484 kB / 0.5515 GB, free: 11.32 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5573, allocations: 0 / 0.5515 GB, free: 11.32 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5574, allocations: 0 / 0.5515 GB, free: 11.32 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.5576, allocations: 167.3 kB / 0.5517 GB, free: 11.14 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.5577, allocations: 85 kB / 0.5518 GB, free: 11.04 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5577, allocations: 224 / 0.5518 GB, free: 11.04 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5578, allocations: 12.09 kB / 0.5518 GB, free: 11.03 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.5579, allocations: 7.938 kB / 0.5518 GB, free: 11.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.5579, allocations: 4 kB / 0.5518 GB, free: 11.02 MB / 395.1 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.558, allocations: 87.27 kB / 0.5519 GB, free: 10.93 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.558, allocations: 4 kB / 0.5519 GB, free: 10.93 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.5583, allocations: 4 kB / 0.5519 GB, free: 10.93 MB / 395.1 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 () * 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.0001704/0.5585, allocations: 91.25 kB / 0.552 GB, free: 10.83 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.5587, allocations: 28.06 kB / 0.552 GB, free: 10.8 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5587, allocations: 4.062 kB / 0.552 GB, free: 10.8 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.5587, allocations: 12 kB / 0.552 GB, free: 10.79 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.559, allocations: 11.94 kB / 0.552 GB, free: 10.77 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.5595, allocations: 123.8 kB / 0.5521 GB, free: 10.62 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.5598, allocations: 0.6885 MB / 0.5528 GB, free: 9.91 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.5599, allocations: 11.44 kB / 0.5528 GB, free: 9.898 MB / 395.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5599, allocations: 0 / 0.5528 GB, free: 9.898 MB / 395.1 MB Notification: Performance of Templates: time 0.002933/0.5628, allocations: 0.7546 MB / 0.5536 GB, free: 9.148 MB / 395.1 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