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.001187/0.001187, allocations: 194.4 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007955/0.0007957, allocations: 110 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.446/0.446, allocations: 44.83 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002526, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2804, allocations: 62.97 MB / 0.5159 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001314/0.2818, allocations: 1.26 MB / 0.5171 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.282, allocations: 54.86 kB / 0.5172 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.282, allocations: 2.906 kB / 0.5172 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.913e-05/0.2821, allocations: 15.27 kB / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.594e-05/0.2822, allocations: 0 / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.985e-05/0.2823, allocations: 13.19 kB / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.2824, allocations: 31.08 kB / 0.5172 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.2825, allocations: 9.906 kB / 0.5172 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.2825, allocations: 14.33 kB / 0.5172 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.2825, allocations: 14.25 kB / 0.5173 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.2826, allocations: 0 / 0.5173 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.2826, allocations: 6.906 kB / 0.5173 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.2826, allocations: 0 / 0.5173 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.2826, allocations: 40.58 kB / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.241e-05/0.2827, allocations: 24.88 kB / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.2827, allocations: 0 / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2827, allocations: 0 / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.2827, allocations: 0 / 0.5173 GB, free: 36.23 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.0002928/0.283, allocations: 346.6 kB / 0.5177 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.283, allocations: 13.19 kB / 0.5177 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.2831, allocations: 3.875 kB / 0.5177 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2832, allocations: 185 kB / 0.5178 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2832, allocations: 11.19 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2832, allocations: 384 / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.2834, allocations: 72.62 kB / 0.5179 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2834, allocations: 192 / 0.5179 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2834, allocations: 7.875 kB / 0.5179 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2834, allocations: 4 kB / 0.5179 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.2835, allocations: 30.64 kB / 0.518 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.2839, allocations: 447.3 kB / 0.5184 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.284, allocations: 50.67 kB / 0.5184 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.284, allocations: 13.48 kB / 0.5185 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.2841, allocations: 0 / 0.5185 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.2841, allocations: 40.62 kB / 0.5185 GB, free: 35.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2841, allocations: 0 / 0.5185 GB, free: 35.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003745/0.2845, allocations: 115.7 kB / 0.5186 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.2845, allocations: 51.41 kB / 0.5187 GB, free: 34.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.2846, allocations: 113 kB / 0.5188 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2846, allocations: 33.7 kB / 0.5188 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.2846, allocations: 90.42 kB / 0.5189 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.2846, allocations: 14.75 kB / 0.5189 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.2846, allocations: 0 / 0.5189 GB, free: 34.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.2847, allocations: 325.2 kB / 0.5192 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.2847, allocations: 16.17 kB / 0.5192 GB, free: 34.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.2848, allocations: 42.61 kB / 0.5193 GB, free: 34.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.592e-05/0.2849, allocations: 63.11 kB / 0.5193 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2849, allocations: 0 / 0.5193 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001295/0.285, allocations: 92.2 kB / 0.5194 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.285, allocations: 9.125 kB / 0.5194 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.285, allocations: 0 / 0.5194 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2851, allocations: 0 / 0.5194 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.2851, allocations: 17.31 kB / 0.5194 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2851, allocations: 0 / 0.5194 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.2852, allocations: 14.69 kB / 0.5194 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2852, allocations: 2.891 kB / 0.5194 GB, free: 34.18 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 4.974e-05/0.2852, allocations: 120.6 kB / 0.5196 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2853, allocations: 10.62 kB / 0.5196 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.2853, allocations: 10.72 kB / 0.5196 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.2853, allocations: 0 / 0.5196 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2853, allocations: 0 / 0.5196 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2853, allocations: 0 / 0.5196 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2855, allocations: 179.8 kB / 0.5198 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2855, allocations: 2.812 kB / 0.5198 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.2856, allocations: 16.23 kB / 0.5198 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2856, allocations: 0 / 0.5198 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2856, allocations: 4 kB / 0.5198 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2856, allocations: 0 / 0.5198 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2856, allocations: 2.938 kB / 0.5198 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.2858, allocations: 185.5 kB / 0.52 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.2858, allocations: 81.02 kB / 0.52 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2858, allocations: 2.625 kB / 0.52 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.2859, allocations: 3.094 kB / 0.52 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.2859, allocations: 11.22 kB / 0.5201 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2859, allocations: 2.969 kB / 0.5201 GB, free: 33.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.732e-05/0.286, allocations: 88.48 kB / 0.5201 GB, free: 33.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.286, allocations: 0 / 0.5201 GB, free: 33.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.2862, allocations: 5.25 kB / 0.5201 GB, free: 33.49 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 6.842e-05/0.2862, allocations: 98.66 kB / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.2864, allocations: 45.34 kB / 0.5203 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2864, allocations: 0 / 0.5203 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.2864, allocations: 21.48 kB / 0.5203 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2867, allocations: 7.219 kB / 0.5203 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.287, allocations: 186.9 kB / 0.5205 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.079e-05/0.2871, allocations: 0.6848 MB / 0.5212 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.2872, allocations: 10.38 kB / 0.5212 GB, free: 32.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2872, allocations: 3.938 kB / 0.5212 GB, free: 32.5 MB / 378.7 MB Notification: Performance of Templates: time 0.001638/0.2888, allocations: 0.7786 MB / 0.5219 GB, free: 32.45 MB / 378.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/jenkins/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