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.001173/0.001173, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 79.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4127, allocations: 62.45 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003084/0.4158, allocations: 1.69 MB / 0.5326 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.4169, allocations: 0.5832 MB / 0.5332 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.417, allocations: 1.375 kB / 0.5332 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.4171, allocations: 11.88 kB / 0.5332 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.4172, allocations: 22.53 kB / 0.5332 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.4175, allocations: 60.19 kB / 0.5333 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.4178, allocations: 121 kB / 0.5334 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.4179, allocations: 36.2 kB / 0.5334 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.4181, allocations: 59.03 kB / 0.5335 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.4183, allocations: 52.12 kB / 0.5336 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.4183, allocations: 11 kB / 0.5336 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.4184, allocations: 15.12 kB / 0.5336 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.4184, allocations: 27.98 kB / 0.5336 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.4185, allocations: 56.11 kB / 0.5337 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.4187, allocations: 121.1 kB / 0.5338 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.4187, allocations: 0 / 0.5338 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4187, allocations: 3.938 kB / 0.5338 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.4187, allocations: 1.375 kB / 0.5338 GB, free: 11.62 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.0007994/0.4195, allocations: 422.8 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4196, allocations: 13.56 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.4198, allocations: 27.95 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4202, allocations: 207.7 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.4202, allocations: 11.11 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.4202, allocations: 15 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.4205, allocations: 88.33 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4205, allocations: 0 / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.4205, allocations: 5.469 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4206, allocations: 5.469 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.4207, allocations: 46.44 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.4216, allocations: 399.7 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4217, allocations: 54.84 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.4218, allocations: 28.39 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4218, allocations: 5.281 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.4221, allocations: 95.81 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.4221, allocations: 0 / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003759/0.4225, allocations: 130.3 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4225, allocations: 57.81 kB / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4227, allocations: 145 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4227, allocations: 38.72 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.4228, allocations: 109.4 kB / 0.5356 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.4228, allocations: 26.89 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.4229, allocations: 35.86 kB / 0.5357 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.423, allocations: 326.1 kB / 0.536 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.4231, allocations: 26.77 kB / 0.536 GB, free: 9.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.4232, allocations: 85.34 kB / 0.5361 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.4234, allocations: 128.2 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4235, allocations: 1.5 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002916/0.4238, allocations: 141.7 kB / 0.5363 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4238, allocations: 14.3 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4238, allocations: 2.156 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.4238, allocations: 6.281 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.424, allocations: 25.86 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.424, allocations: 3.625 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.4241, allocations: 7.875 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4241, allocations: 9.531 kB / 0.5364 GB, free: 9.203 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.0001414/0.4242, allocations: 130.8 kB / 0.5365 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.4243, allocations: 15.92 kB / 0.5365 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.4243, allocations: 11.28 kB / 0.5366 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4243, allocations: 1.188 kB / 0.5366 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4243, allocations: 1.125 kB / 0.5366 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4244, allocations: 0 / 0.5366 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.4246, allocations: 207.4 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4246, allocations: 0 / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.4247, allocations: 13.11 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4247, allocations: 5.281 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.4247, allocations: 5.125 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4248, allocations: 1.062 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4248, allocations: 0 / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.4252, allocations: 168.2 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.4253, allocations: 92.84 kB / 0.537 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4253, allocations: 1.281 kB / 0.537 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.4254, allocations: 10.91 kB / 0.537 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.4255, allocations: 10.58 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4255, allocations: 2.531 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.4256, allocations: 116.7 kB / 0.5372 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.4256, allocations: 0 / 0.5372 GB, free: 8.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.4258, allocations: 20.25 kB / 0.5372 GB, free: 8.469 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.000135/0.426, allocations: 100.1 kB / 0.5373 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.4262, allocations: 90.02 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4262, allocations: 0 / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.4263, allocations: 28.42 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.4265, allocations: 20.42 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.4271, allocations: 260.7 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4275, allocations: 0.7065 MB / 0.5383 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.4275, allocations: 15.28 kB / 0.5384 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.4276, allocations: 13.78 kB / 0.5384 GB, free: 7.379 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4276, allocations: 0 / 0.5384 GB, free: 7.379 MB / 398.1 MB Notification: Performance of Templates: time 0.004109/0.4317, allocations: 1.042 MB / 0.5394 GB, free: 6.844 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