Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 190.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.5 MB / 244.1 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007388/0.0007389, allocations: 103.9 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3308/0.3308, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3168, allocations: 62.95 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4316, allocations: 87.07 MB / 0.6015 GB, free: 2.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.4319, allocations: 59.97 kB / 0.6015 GB, free: 2.289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002749/0.4346, allocations: 1.04 MB / 0.6026 GB, free: 1.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4347, allocations: 4 kB / 0.6026 GB, free: 1.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.4347, allocations: 0 / 0.6026 GB, free: 1.246 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.000361/0.4351, allocations: 343.4 kB / 0.6029 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4351, allocations: 12.23 kB / 0.6029 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.4351, allocations: 8.938 kB / 0.6029 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.4353, allocations: 188.1 kB / 0.6031 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.4353, allocations: 384 / 0.6031 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.4354, allocations: 8.375 kB / 0.6031 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4355, allocations: 68.77 kB / 0.6032 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4355, allocations: 192 / 0.6032 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.4356, allocations: 11.92 kB / 0.6032 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4356, allocations: 4 kB / 0.6032 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.648e-05/0.4357, allocations: 31.97 kB / 0.6032 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.4362, allocations: 445.1 kB / 0.6036 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4364, allocations: 42.56 kB / 0.6037 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.4365, allocations: 16.86 kB / 0.6037 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.4365, allocations: 0 / 0.6037 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4365, allocations: 34.5 kB / 0.6037 GB, free: 15.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.4365, allocations: 4 kB / 0.6037 GB, free: 15.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004641/0.437, allocations: 105.6 kB / 0.6038 GB, free: 15.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.4371, allocations: 63.34 kB / 0.6039 GB, free: 15.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.4372, allocations: 113.8 kB / 0.604 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.4372, allocations: 25.7 kB / 0.604 GB, free: 15.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.4372, allocations: 96.03 kB / 0.6041 GB, free: 15.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.4373, allocations: 19.75 kB / 0.6041 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4373, allocations: 0 / 0.6041 GB, free: 15.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4374, allocations: 318.8 kB / 0.6044 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.4374, allocations: 19.98 kB / 0.6045 GB, free: 15.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.4375, allocations: 47.41 kB / 0.6045 GB, free: 15.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4376, allocations: 59.36 kB / 0.6046 GB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4376, allocations: 0 / 0.6046 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.4378, allocations: 93.52 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4378, allocations: 4 kB / 0.6047 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4378, allocations: 0 / 0.6047 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4378, allocations: 4 kB / 0.6047 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.4379, allocations: 15.92 kB / 0.6047 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4379, allocations: 4 kB / 0.6047 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.438, allocations: 8 kB / 0.6047 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.438, allocations: 4.094 kB / 0.6047 GB, free: 14.81 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 8.618e-05/0.4381, allocations: 117.8 kB / 0.6048 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.4381, allocations: 7.938 kB / 0.6048 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.4381, allocations: 11.89 kB / 0.6048 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4381, allocations: 0 / 0.6048 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4382, allocations: 0 / 0.6048 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4382, allocations: 0 / 0.6048 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.4383, allocations: 173.6 kB / 0.605 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4383, allocations: 0 / 0.605 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.4384, allocations: 12 kB / 0.605 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4384, allocations: 384 / 0.605 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4384, allocations: 7.984 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4385, allocations: 3.938 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4385, allocations: 0 / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.4387, allocations: 191.4 kB / 0.6052 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.4388, allocations: 81.39 kB / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.4388, allocations: 0 / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.4388, allocations: 8.016 kB / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.4389, allocations: 0 / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.4389, allocations: 7.938 kB / 0.6053 GB, free: 14.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.4389, allocations: 91.27 kB / 0.6054 GB, free: 14.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4389, allocations: 0 / 0.6054 GB, free: 14.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.4392, allocations: 8 kB / 0.6054 GB, free: 14 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.0001165/0.4393, allocations: 103.2 kB / 0.6055 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.4394, allocations: 43.97 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4394, allocations: 0 / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.4395, allocations: 15.94 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.4398, allocations: 14.64 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.4402, allocations: 192.6 kB / 0.6057 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4405, allocations: 0.6887 MB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.4405, allocations: 7.438 kB / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4405, allocations: 4 kB / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of Templates: time 0.001983/0.4425, allocations: 0.7823 MB / 0.6072 GB, free: 12.1 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches