Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009603/0.0009603, allocations: 106.1 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3438/0.3438, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001155, allocations: 60.19 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2828, allocations: 62.01 MB / 0.5151 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003005/0.2858, allocations: 1.628 MB / 0.5167 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002509/0.2861, allocations: 50.72 kB / 0.5168 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2862, allocations: 3.938 kB / 0.5168 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.2864, allocations: 3.422 kB / 0.5168 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.2864, allocations: 11.92 kB / 0.5168 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.2866, allocations: 17.45 kB / 0.5168 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.806e-05/0.2867, allocations: 29.72 kB / 0.5168 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.2868, allocations: 13.78 kB / 0.5169 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.2868, allocations: 7.5 kB / 0.5169 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.2869, allocations: 18.08 kB / 0.5169 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2869, allocations: 2.688 kB / 0.5169 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.2869, allocations: 0 / 0.5169 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.2869, allocations: 10.88 kB / 0.5169 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.287, allocations: 22.22 kB / 0.5169 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.043e-05/0.287, allocations: 28.33 kB / 0.5169 GB, free: 36.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2871, allocations: 0 / 0.5169 GB, free: 36.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2871, allocations: 0 / 0.5169 GB, free: 36.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2871, allocations: 2.75 kB / 0.5169 GB, free: 36.56 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.0004575/0.2875, allocations: 346.4 kB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2876, allocations: 15.81 kB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.2876, allocations: 4.844 kB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.2878, allocations: 169.8 kB / 0.5175 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2879, allocations: 15.41 kB / 0.5175 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.2879, allocations: 3.188 kB / 0.5175 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2881, allocations: 70.78 kB / 0.5175 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2881, allocations: 192 / 0.5175 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2881, allocations: 10.89 kB / 0.5176 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2881, allocations: 0 / 0.5176 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.681e-05/0.2882, allocations: 25.22 kB / 0.5176 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.2887, allocations: 450.9 kB / 0.518 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.2889, allocations: 49.7 kB / 0.5181 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.289, allocations: 14.64 kB / 0.5181 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.289, allocations: 3.938 kB / 0.5181 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.289, allocations: 37.89 kB / 0.5181 GB, free: 35.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.289, allocations: 0 / 0.5181 GB, free: 35.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004892/0.2895, allocations: 110.2 kB / 0.5182 GB, free: 35.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.2896, allocations: 55.34 kB / 0.5183 GB, free: 35.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2896, allocations: 116.8 kB / 0.5184 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2897, allocations: 28.52 kB / 0.5184 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.2897, allocations: 94.44 kB / 0.5185 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.2897, allocations: 11.75 kB / 0.5185 GB, free: 34.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.2898, allocations: 19.53 kB / 0.5185 GB, free: 34.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.2899, allocations: 324.9 kB / 0.5188 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.2899, allocations: 13.25 kB / 0.5188 GB, free: 34.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.29, allocations: 45.61 kB / 0.5189 GB, free: 34.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.2901, allocations: 56.31 kB / 0.5189 GB, free: 34.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2901, allocations: 0 / 0.5189 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001414/0.2902, allocations: 83.8 kB / 0.519 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2902, allocations: 9.516 kB / 0.519 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2902, allocations: 0 / 0.519 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2903, allocations: 2.906 kB / 0.519 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.2903, allocations: 12.5 kB / 0.519 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2903, allocations: 2.906 kB / 0.519 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.2904, allocations: 14.19 kB / 0.5191 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2904, allocations: 2.875 kB / 0.5191 GB, free: 34.49 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.2905, allocations: 116.8 kB / 0.5192 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.2905, allocations: 11.03 kB / 0.5192 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.2905, allocations: 3.906 kB / 0.5192 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2905, allocations: 0 / 0.5192 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2905, allocations: 0 / 0.5192 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2905, allocations: 0 / 0.5192 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2907, allocations: 173.1 kB / 0.5194 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2907, allocations: 2.781 kB / 0.5194 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.2908, allocations: 6.25 kB / 0.5194 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2908, allocations: 9.969 kB / 0.5194 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.2908, allocations: 11.94 kB / 0.5194 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2908, allocations: 0 / 0.5194 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2908, allocations: 0 / 0.5194 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.2915, allocations: 1.076 MB / 0.5204 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.2916, allocations: 83.95 kB / 0.5205 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-06/0.2916, allocations: 3.75 kB / 0.5205 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.2916, allocations: 2.875 kB / 0.5205 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.2917, allocations: 7.875 kB / 0.5205 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2917, allocations: 2.938 kB / 0.5205 GB, free: 32.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.333e-05/0.2917, allocations: 88.62 kB / 0.5206 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2917, allocations: 96 / 0.5206 GB, free: 32.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.292, allocations: 16.69 kB / 0.5206 GB, free: 32.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.947e-05/0.2921, allocations: 90.59 kB / 0.5207 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2923, allocations: 41.17 kB / 0.5208 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2923, allocations: 0 / 0.5208 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.2923, allocations: 14.48 kB / 0.5208 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.2926, allocations: 10.73 kB / 0.5208 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.293, allocations: 279.9 kB / 0.521 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2931, allocations: 0.6877 MB / 0.5217 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.103e-05/0.2932, allocations: 6.656 kB / 0.5217 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.2932, allocations: 10.22 kB / 0.5217 GB, free: 31.81 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2932, allocations: 4 kB / 0.5217 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.002112/0.2953, allocations: 0.4903 MB / 0.5222 GB, free: 31.73 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches