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.001537/0.001537, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 79.86 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4794, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003352/0.4828, allocations: 1.698 MB / 0.5326 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.4841, allocations: 0.583 MB / 0.5332 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.713e-05/0.4842, allocations: 1.375 kB / 0.5332 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.4844, allocations: 7.875 kB / 0.5332 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.4844, allocations: 26.48 kB / 0.5332 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.4848, allocations: 64.55 kB / 0.5333 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.485, allocations: 121.3 kB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.4852, allocations: 31.59 kB / 0.5334 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.4854, allocations: 55.5 kB / 0.5335 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.4855, allocations: 52.83 kB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.4856, allocations: 14.22 kB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.4856, allocations: 17.91 kB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.4857, allocations: 28.97 kB / 0.5336 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.4858, allocations: 48.55 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.4861, allocations: 123.6 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4861, allocations: 3.938 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4861, allocations: 0 / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.4861, allocations: 1.062 kB / 0.5338 GB, free: 11.39 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.0008539/0.487, allocations: 431.8 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.487, allocations: 8.906 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.4873, allocations: 23.16 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.4875, allocations: 216.1 kB / 0.5344 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4876, allocations: 7.938 kB / 0.5344 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.4876, allocations: 14.53 kB / 0.5344 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.4879, allocations: 91.36 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4879, allocations: 1.094 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.4879, allocations: 9.156 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4879, allocations: 1.156 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.4881, allocations: 50.81 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.4887, allocations: 388.5 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.4889, allocations: 65.77 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.489, allocations: 26.06 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.489, allocations: 3.984 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.4892, allocations: 100.2 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.4893, allocations: 0 / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003774/0.4896, allocations: 135.2 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4897, allocations: 52.78 kB / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.4898, allocations: 148.9 kB / 0.5355 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4899, allocations: 31.08 kB / 0.5355 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.4899, allocations: 113.6 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.49, allocations: 19.98 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.4901, allocations: 39.27 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4902, allocations: 325.6 kB / 0.536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.4903, allocations: 27.11 kB / 0.536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.4904, allocations: 84.86 kB / 0.5361 GB, free: 9.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.4906, allocations: 125.5 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4906, allocations: 0 / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/0.4909, allocations: 149.5 kB / 0.5363 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4909, allocations: 10.19 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4909, allocations: 2.438 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.491, allocations: 3.562 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4911, allocations: 24.86 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4911, allocations: 3.406 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.4912, allocations: 13.61 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.4912, allocations: 8.375 kB / 0.5364 GB, free: 8.961 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.0001149/0.4913, allocations: 130.5 kB / 0.5365 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.4913, allocations: 12.17 kB / 0.5365 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.4914, allocations: 12 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4914, allocations: 1.062 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4914, allocations: 0 / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4914, allocations: 0 / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.4916, allocations: 212.2 kB / 0.5368 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4916, allocations: 3.984 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-05/0.4917, allocations: 12.66 kB / 0.5368 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4917, allocations: 5.406 kB / 0.5368 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.4918, allocations: 5.203 kB / 0.5368 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4918, allocations: 1.281 kB / 0.5368 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4918, allocations: 0 / 0.5368 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.4921, allocations: 176.4 kB / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.4922, allocations: 87.94 kB / 0.537 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.4922, allocations: 5.969 kB / 0.537 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.4923, allocations: 6.344 kB / 0.5371 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.4924, allocations: 10.86 kB / 0.5371 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4924, allocations: 3.156 kB / 0.5371 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.4925, allocations: 110 kB / 0.5372 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4925, allocations: 3.938 kB / 0.5372 GB, free: 8.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.4927, allocations: 19.25 kB / 0.5372 GB, free: 8.219 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.0001237/0.4928, allocations: 101.6 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.4931, allocations: 76.86 kB / 0.5374 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4931, allocations: 0 / 0.5374 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/0.4932, allocations: 33.23 kB / 0.5374 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.4934, allocations: 17.58 kB / 0.5374 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.494, allocations: 264.4 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4944, allocations: 0.7064 MB / 0.5384 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.4944, allocations: 11.08 kB / 0.5384 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.4945, allocations: 17.14 kB / 0.5384 GB, free: 7.133 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4945, allocations: 4 kB / 0.5384 GB, free: 7.129 MB / 398.1 MB Notification: Performance of Templates: time 0.003756/0.4982, allocations: 1.017 MB / 0.5394 GB, free: 6.617 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches