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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 163.5 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9971/0.9971, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2415/0.2415, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] 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=5005,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=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.119e-05, allocations: 4.141 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002143/0.002164, allocations: 1.713 MB / 327.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.002988, allocations: 0.5807 MB / 328.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.003053, allocations: 4 kB / 328.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.003145, allocations: 11.86 kB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.003207, allocations: 23.73 kB / 328.2 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.003493, allocations: 59.81 kB / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.003634, allocations: 119.6 kB / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003738, allocations: 37.88 kB / 328.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.003877, allocations: 71.81 kB / 328.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.003978, allocations: 39.81 kB / 328.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003999, allocations: 12 kB / 328.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.004049, allocations: 24 kB / 328.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.004082, allocations: 27.89 kB / 328.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.004132, allocations: 36.53 kB / 328.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.004292, allocations: 91.64 kB / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004294, allocations: 0 / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004295, allocations: 3.938 kB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004298, allocations: 0 / 328.7 MB, free: 4.309 MB / 298.7 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.0003709/0.004669, allocations: 321.8 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.004698, allocations: 8.031 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.004816, allocations: 32.91 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.004973, allocations: 142.2 kB / 329.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.004984, allocations: 4.375 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.005004, allocations: 8.375 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.005113, allocations: 85.86 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.005129, allocations: 7.875 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.005138, allocations: 0 / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005142, allocations: 4 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/0.005175, allocations: 15.98 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.005471, allocations: 238.8 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.005536, allocations: 34.56 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.005556, allocations: 16.84 kB / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.00557, allocations: 0 / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.005671, allocations: 80.48 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.005672, allocations: 0 / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001263/0.005798, allocations: 73.67 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.005836, allocations: 59.33 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.005912, allocations: 144.6 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.005927, allocations: 33.7 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.005967, allocations: 104.1 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.005993, allocations: 31.77 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.006034, allocations: 37.69 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.006115, allocations: 322.8 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.006132, allocations: 7.984 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.006176, allocations: 67.72 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.321e-05/0.006259, allocations: 107.6 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006261, allocations: 0 / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001005/0.006361, allocations: 93.69 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.006372, allocations: 8 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.006379, allocations: 4 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.00639, allocations: 7.938 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.006463, allocations: 23.98 kB / 330.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006468, allocations: 3.984 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.006509, allocations: 19.83 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.006516, allocations: 8 kB / 330.8 MB, free: 1.988 MB / 298.7 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 6.84e-05/0.006585, allocations: 120.6 kB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.006598, allocations: 7.984 kB / 331 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.006635, allocations: 16.78 kB / 331 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.006637, allocations: 0 / 331 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.006639, allocations: 0 / 331 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006642, allocations: 0 / 331 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/0.006729, allocations: 101.8 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.00673, allocations: 0 / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.006771, allocations: 11.98 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006773, allocations: 0 / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.006781, allocations: 0 / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.006784, allocations: 7.938 kB / 331.1 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.006785, allocations: 4 kB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.006914, allocations: 101 kB / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.006927, allocations: 11.91 kB / 331.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.006942, allocations: 3.984 kB / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.679e-05/0.006969, allocations: 15.88 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.007001, allocations: 3.984 kB / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.007007, allocations: 4 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.007033, allocations: 27.83 kB / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007033, allocations: 4 kB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.007162, allocations: 27.86 kB / 331.3 MB, free: 1.477 MB / 298.7 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 7.879e-05/0.007241, allocations: 85.2 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.007332, allocations: 49.64 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.007334, allocations: 0 / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.007369, allocations: 34.75 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.971e-05/0.007469, allocations: 12.08 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.007932, allocations: 246.1 kB / 331.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.007973, allocations: 71.34 kB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.008008, allocations: 8.484 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.008067, allocations: 67.36 kB / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008068, allocations: 0 / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of Templates: time 0.002785/0.01085, allocations: 1.1 MB / 333 MB, free: 15.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9179478101432323]