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.001479/0.001479, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001932, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 71.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.336, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003146/0.3392, allocations: 1.704 MB / 0.5326 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3404, allocations: 0.5843 MB / 0.5332 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.3405, allocations: 0.9375 kB / 0.5332 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.3406, allocations: 11.86 kB / 0.5332 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.592e-05/0.3407, allocations: 22 kB / 0.5332 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.341, allocations: 69.19 kB / 0.5333 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3412, allocations: 116.4 kB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3414, allocations: 31.97 kB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3416, allocations: 64.05 kB / 0.5335 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.3417, allocations: 48.38 kB / 0.5336 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3417, allocations: 14.88 kB / 0.5336 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.3418, allocations: 18.05 kB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.3419, allocations: 28.03 kB / 0.5336 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.3419, allocations: 53.48 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3422, allocations: 121.7 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3422, allocations: 5.312 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3422, allocations: 0 / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3422, allocations: 0 / 0.5338 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.000728/0.3429, allocations: 426.1 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.343, allocations: 9.625 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3432, allocations: 22.58 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3435, allocations: 211.3 kB / 0.5344 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3435, allocations: 8.5 kB / 0.5344 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.3435, allocations: 15 kB / 0.5344 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3438, allocations: 86.52 kB / 0.5345 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3438, allocations: 1.375 kB / 0.5345 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3438, allocations: 13.36 kB / 0.5345 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3438, allocations: 1.375 kB / 0.5345 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.344, allocations: 50.03 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.3446, allocations: 391.4 kB / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3448, allocations: 63.25 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.3448, allocations: 25.27 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3449, allocations: 1.375 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.3451, allocations: 94.84 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 4.528e-06/0.3451, allocations: 0 / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003542/0.3454, allocations: 138.4 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3455, allocations: 61.44 kB / 0.5353 GB, free: 9.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3456, allocations: 137.5 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3457, allocations: 31.11 kB / 0.5355 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.3458, allocations: 109.5 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3458, allocations: 28.08 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.3459, allocations: 39.89 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.346, allocations: 325 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.3461, allocations: 26.7 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3462, allocations: 83 kB / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3464, allocations: 121.4 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3464, allocations: 1.094 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000285/0.3467, allocations: 145.3 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3467, allocations: 9.531 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3468, allocations: 2.094 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3468, allocations: 3.375 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3469, allocations: 26.3 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3469, allocations: 2.438 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/0.347, allocations: 24.64 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.347, allocations: 5.469 kB / 0.5364 GB, free: 8.988 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.0001037/0.3472, allocations: 126.6 kB / 0.5365 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3472, allocations: 13.53 kB / 0.5365 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.3472, allocations: 15.14 kB / 0.5365 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3472, allocations: 1.188 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3473, allocations: 0 / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3473, allocations: 1.062 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3475, allocations: 211.5 kB / 0.5368 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3475, allocations: 4 kB / 0.5368 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/0.3476, allocations: 13.08 kB / 0.5368 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3476, allocations: 5.062 kB / 0.5368 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3476, allocations: 1.219 kB / 0.5368 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3476, allocations: 0 / 0.5368 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3476, allocations: 1.344 kB / 0.5368 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.348, allocations: 176.4 kB / 0.5369 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.348, allocations: 88.2 kB / 0.537 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3481, allocations: 5.047 kB / 0.537 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.3481, allocations: 6.188 kB / 0.537 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.3482, allocations: 8.078 kB / 0.537 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3482, allocations: 2.969 kB / 0.537 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.3483, allocations: 116.5 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3483, allocations: 3.938 kB / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3486, allocations: 20.77 kB / 0.5372 GB, free: 8.25 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.000108/0.3487, allocations: 100.3 kB / 0.5373 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.3489, allocations: 76.31 kB / 0.5374 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3489, allocations: 1.125 kB / 0.5374 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.349, allocations: 32.75 kB / 0.5374 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3492, allocations: 16.81 kB / 0.5374 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.3498, allocations: 261.9 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3501, allocations: 0.7028 MB / 0.5383 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.823e-05/0.3502, allocations: 14.62 kB / 0.5384 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.3502, allocations: 14.16 kB / 0.5384 GB, free: 7.172 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3502, allocations: 4.281 kB / 0.5384 GB, free: 7.168 MB / 398.1 MB Notification: Performance of Templates: time 0.003717/0.3539, allocations: 1.018 MB / 0.5394 GB, free: 6.648 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