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.001161/0.001162, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 79.86 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3854, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002992/0.3885, allocations: 1.691 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3896, allocations: 0.5831 MB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.3896, allocations: 5.906 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.3898, allocations: 11.86 kB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.3898, allocations: 23.55 kB / 0.5339 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.3901, allocations: 60.41 kB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3903, allocations: 116.5 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3905, allocations: 35.75 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3907, allocations: 67.11 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3908, allocations: 48.83 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3908, allocations: 10.47 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.096e-05/0.3909, allocations: 15.12 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.391, allocations: 28.03 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.391, allocations: 52.11 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3913, allocations: 127 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3913, allocations: 0 / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3913, allocations: 5.375 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3913, allocations: 0 / 0.5344 GB, free: 11.41 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.0007522/0.392, allocations: 420.7 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3921, allocations: 13.56 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3923, allocations: 23.95 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3926, allocations: 210.8 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3926, allocations: 12.48 kB / 0.5351 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.3927, allocations: 21.62 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.3929, allocations: 91.83 kB / 0.5352 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3929, allocations: 0 / 0.5352 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3929, allocations: 5.375 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3929, allocations: 1.375 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.3931, allocations: 47.47 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.3937, allocations: 395.4 kB / 0.5356 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3939, allocations: 59.3 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.3939, allocations: 25.27 kB / 0.5357 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.394, allocations: 0 / 0.5357 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.3942, allocations: 104.2 kB / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3942, allocations: 0 / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003742/0.3945, allocations: 134.1 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3946, allocations: 57.59 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3948, allocations: 137.3 kB / 0.5361 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3948, allocations: 35.09 kB / 0.5362 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.3949, allocations: 113.6 kB / 0.5363 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.3949, allocations: 26.97 kB / 0.5363 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.395, allocations: 36.67 kB / 0.5363 GB, free: 9.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3951, allocations: 321.9 kB / 0.5366 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.3952, allocations: 26.48 kB / 0.5367 GB, free: 9.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3953, allocations: 90.94 kB / 0.5367 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3955, allocations: 116.9 kB / 0.5369 GB, free: 9.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3955, allocations: 5.781 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000272/0.3958, allocations: 137.2 kB / 0.537 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3958, allocations: 9.75 kB / 0.537 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3959, allocations: 6.516 kB / 0.537 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3959, allocations: 11.47 kB / 0.537 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.396, allocations: 20.7 kB / 0.537 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.396, allocations: 3.281 kB / 0.537 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.3961, allocations: 12.53 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.3961, allocations: 5.75 kB / 0.5371 GB, free: 9 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.0001097/0.3963, allocations: 127.6 kB / 0.5372 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3963, allocations: 17.17 kB / 0.5372 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.3963, allocations: 14.97 kB / 0.5372 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3963, allocations: 1.156 kB / 0.5372 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3964, allocations: 1.062 kB / 0.5372 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3964, allocations: 0 / 0.5372 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3966, allocations: 211.1 kB / 0.5374 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3966, allocations: 1.125 kB / 0.5374 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/0.3967, allocations: 13.08 kB / 0.5374 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3967, allocations: 7.875 kB / 0.5374 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3967, allocations: 2.406 kB / 0.5374 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3967, allocations: 0 / 0.5374 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3967, allocations: 0 / 0.5374 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.3971, allocations: 173.6 kB / 0.5376 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3971, allocations: 90.94 kB / 0.5377 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3972, allocations: 6.469 kB / 0.5377 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.3972, allocations: 6.031 kB / 0.5377 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.3973, allocations: 7.297 kB / 0.5377 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3973, allocations: 3.094 kB / 0.5377 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.13e-05/0.3974, allocations: 124.8 kB / 0.5378 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3974, allocations: 0 / 0.5378 GB, free: 8.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.3976, allocations: 15.5 kB / 0.5379 GB, free: 8.258 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 0.0001216/0.3977, allocations: 97.59 kB / 0.5379 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.398, allocations: 88.97 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.398, allocations: 0 / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.3981, allocations: 38.3 kB / 0.5381 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.3983, allocations: 23.84 kB / 0.5381 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.3989, allocations: 276.2 kB / 0.5384 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3992, allocations: 0.7028 MB / 0.539 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.3992, allocations: 20.7 kB / 0.5391 GB, free: 7.145 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3992, allocations: 5.281 kB / 0.5391 GB, free: 7.141 MB / 398.1 MB Notification: Performance of Templates: time 0.003838/0.4031, allocations: 1.433 MB / 0.5405 GB, free: 6.395 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