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.001111/0.001111, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001893/0.003004, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001199/0.001199, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001946/0.003145, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.006/1.006, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.106, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.319/0.319, allocations: 34.88 MB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02699/0.346, allocations: 13.24 MB / 292.8 MB, free: 6.371 MB / 282.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.233e-06/1.233e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.405e-05, allocations: 3.297 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002184/0.002208, allocations: 1.769 MB / 295.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.002988, allocations: 0.5846 MB / 296.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.003058, allocations: 0 / 296.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.061e-05/0.003119, allocations: 19.8 kB / 296.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.003169, allocations: 23.78 kB / 296.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.003389, allocations: 63.75 kB / 296.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.00353, allocations: 111.6 kB / 296.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.003636, allocations: 29.89 kB / 296.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.003809, allocations: 87.8 kB / 296.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.003918, allocations: 39.88 kB / 296.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003939, allocations: 12 kB / 296.8 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.004003, allocations: 15.94 kB / 296.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.004036, allocations: 23.94 kB / 296.9 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.004074, allocations: 27.94 kB / 296.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.004219, allocations: 87.61 kB / 297 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.004231, allocations: 0 / 297 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004232, allocations: 0 / 297 MB, free: 2.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.004241, allocations: 0 / 297 MB, free: 2.184 MB / 282.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.0004964/0.004737, allocations: 337.3 kB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.004772, allocations: 8.922 kB / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.004943, allocations: 110 kB / 297.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.00509, allocations: 146.1 kB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.005102, allocations: 8.312 kB / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.005124, allocations: 12.38 kB / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.005243, allocations: 82.89 kB / 297.7 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.005252, allocations: 3.938 kB / 297.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005262, allocations: 0 / 297.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.005268, allocations: 4 kB / 297.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.005298, allocations: 15.94 kB / 297.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.005593, allocations: 246.8 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.005668, allocations: 34.56 kB / 298 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.005688, allocations: 16.84 kB / 298 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.005703, allocations: 4 kB / 298 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.005816, allocations: 83.27 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.005817, allocations: 0 / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001318/0.005949, allocations: 70.55 kB / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.005985, allocations: 59.41 kB / 298.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.00606, allocations: 147.1 kB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.006075, allocations: 29.7 kB / 298.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.006112, allocations: 104.1 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.006135, allocations: 23.81 kB / 298.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.00617, allocations: 33.69 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.006247, allocations: 330.7 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.006263, allocations: 8 kB / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.006305, allocations: 66.33 kB / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.006396, allocations: 95.67 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.006398, allocations: 0 / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001019/0.0065, allocations: 105.4 kB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006511, allocations: 8.219 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006516, allocations: 4 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.00653, allocations: 4 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.006627, allocations: 31.92 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.00663, allocations: 0 / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.006665, allocations: 19.83 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.006672, allocations: 7.984 kB / 299.2 MB, free: 15.74 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.872e-05/0.006741, allocations: 120.7 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.006753, allocations: 4 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.006782, allocations: 16.77 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.006784, allocations: 7.938 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.006787, allocations: 4 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.00679, allocations: 0 / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.006871, allocations: 97.72 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006873, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.006924, allocations: 19.81 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.006938, allocations: 7.953 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006941, allocations: 0 / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.006954, allocations: 4 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006956, allocations: 0 / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006957, allocations: 0 / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.007096, allocations: 116.7 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.007111, allocations: 7.984 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/0.007139, allocations: 4 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.007166, allocations: 11.98 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.007172, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.007198, allocations: 28.83 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007198, allocations: 0 / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001257/0.007324, allocations: 27.92 kB / 299.7 MB, free: 15.23 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.612e-05/0.0074, allocations: 76.42 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.007491, allocations: 60.67 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.007498, allocations: 4 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.007542, allocations: 20.86 kB / 299.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.007681, allocations: 111.9 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.008455, allocations: 250.2 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.008496, allocations: 67.34 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.008531, allocations: 12.86 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.008593, allocations: 67.36 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.008593, allocations: 0 / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Templates: time 0.00316/0.01175, allocations: 1.121 MB / 301.4 MB, free: 13.4 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.819109213538468]