Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 117.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 208.8 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2026/0.2026, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2767, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002461/0.2792, allocations: 1.694 MB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.2801, allocations: 0.583 MB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.2802, allocations: 5.312 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.877e-05/0.2803, allocations: 7.875 kB / 0.5339 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.2803, allocations: 30.53 kB / 0.5339 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.2806, allocations: 60.19 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.2808, allocations: 116.9 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2809, allocations: 35.64 kB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.2811, allocations: 56.55 kB / 0.5342 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2812, allocations: 52.03 kB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.2812, allocations: 14.22 kB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.755e-05/0.2813, allocations: 18.84 kB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.2813, allocations: 23.89 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.2814, allocations: 49.17 kB / 0.5343 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2816, allocations: 130.1 kB / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2816, allocations: 1.719 kB / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2816, allocations: 0 / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.2816, allocations: 0 / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006503/0.2822, allocations: 428.7 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.2823, allocations: 9.969 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.2825, allocations: 23.23 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2827, allocations: 211 kB / 0.5351 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2827, allocations: 8.438 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.2828, allocations: 13.88 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.283, allocations: 91.73 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.283, allocations: 5.188 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.283, allocations: 8 kB / 0.5352 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.283, allocations: 2.344 kB / 0.5352 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.2832, allocations: 49.47 kB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.2838, allocations: 391.6 kB / 0.5356 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2839, allocations: 62.45 kB / 0.5357 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.284, allocations: 25.05 kB / 0.5357 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.284, allocations: 4.938 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.2842, allocations: 99.59 kB / 0.5358 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2842, allocations: 3.938 kB / 0.5358 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003281/0.2845, allocations: 130.9 kB / 0.5359 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.2846, allocations: 54.16 kB / 0.536 GB, free: 9.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2847, allocations: 145.3 kB / 0.5361 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2847, allocations: 31.08 kB / 0.5362 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.2848, allocations: 105.6 kB / 0.5363 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.2848, allocations: 34.3 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.2849, allocations: 36.7 kB / 0.5363 GB, free: 9.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.285, allocations: 325.6 kB / 0.5366 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.2851, allocations: 25.73 kB / 0.5367 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2852, allocations: 88.2 kB / 0.5367 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.2854, allocations: 116.8 kB / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2854, allocations: 0.7188 kB / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00026/0.2857, allocations: 153.8 kB / 0.537 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2857, allocations: 9.5 kB / 0.537 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2857, allocations: 2.188 kB / 0.537 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2857, allocations: 3.094 kB / 0.537 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2858, allocations: 21.39 kB / 0.537 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.2859, allocations: 3.188 kB / 0.537 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.2859, allocations: 13.66 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.286, allocations: 9.562 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001005/0.2861, allocations: 129.5 kB / 0.5372 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.2861, allocations: 12.62 kB / 0.5372 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.2861, allocations: 11.03 kB / 0.5372 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2861, allocations: 1.094 kB / 0.5372 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2862, allocations: 0 / 0.5372 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2862, allocations: 1.094 kB / 0.5372 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2863, allocations: 203.7 kB / 0.5374 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2863, allocations: 7.984 kB / 0.5374 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.2864, allocations: 12.72 kB / 0.5374 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2865, allocations: 5.031 kB / 0.5374 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.2865, allocations: 8.922 kB / 0.5374 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.2865, allocations: 1.469 kB / 0.5374 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2865, allocations: 0 / 0.5374 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.2868, allocations: 177.8 kB / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.2869, allocations: 87.77 kB / 0.5377 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.2869, allocations: 5.625 kB / 0.5377 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.287, allocations: 5.438 kB / 0.5377 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.287, allocations: 7.703 kB / 0.5377 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.287, allocations: 3.312 kB / 0.5377 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.743e-05/0.2871, allocations: 116.6 kB / 0.5378 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2871, allocations: 0 / 0.5378 GB, free: 8.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.2874, allocations: 19.31 kB / 0.5378 GB, free: 8.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.082e-05/0.2875, allocations: 101.4 kB / 0.5379 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2877, allocations: 77.14 kB / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2877, allocations: 0 / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.221e-05/0.2878, allocations: 37.23 kB / 0.5381 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.288, allocations: 20.02 kB / 0.5381 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.2885, allocations: 283.6 kB / 0.5383 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.2888, allocations: 0.7066 MB / 0.539 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.2888, allocations: 13.28 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2889, allocations: 1.281 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of Templates: time 0.003025/0.2919, allocations: 1.443 MB / 0.5405 GB, free: 6.383 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches