Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 82.27 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 163.1 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 34.27 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.777e-05, allocations: 2.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003018/0.003046, allocations: 1.67 MB / 444.3 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.004182, allocations: 0.5609 MB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.004255, allocations: 8 kB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.406e-05/0.004349, allocations: 15.8 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.004405, allocations: 7.875 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.004718, allocations: 75.61 kB / 445 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.00498, allocations: 123.6 kB / 445.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.0051, allocations: 21.3 kB / 445.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.005302, allocations: 71.81 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005412, allocations: 39.88 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.00544, allocations: 12 kB / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.005542, allocations: 19.94 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.005591, allocations: 31.84 kB / 445.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.398e-05/0.005655, allocations: 31.92 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.005875, allocations: 131.6 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005878, allocations: 0 / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005878, allocations: 0 / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.005887, allocations: 0 / 445.5 MB, free: 2.582 MB / 366.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.0007595/0.006647, allocations: 363.5 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.006681, allocations: 8.031 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.006905, allocations: 36.81 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.007155, allocations: 154.1 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.007166, allocations: 4.375 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.007199, allocations: 8.375 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.007433, allocations: 98.14 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.007448, allocations: 3.938 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.007463, allocations: 0 / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.00747, allocations: 4 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.007629, allocations: 55.97 kB / 446.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.008207, allocations: 308.2 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.008365, allocations: 66.47 kB / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.008448, allocations: 24.98 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.008463, allocations: 3.938 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.008681, allocations: 99.34 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.008682, allocations: 0 / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003888/0.009071, allocations: 129.5 kB / 446.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.009114, allocations: 51.41 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.00927, allocations: 156.9 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.009298, allocations: 29.7 kB / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.009371, allocations: 108 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.009405, allocations: 27.92 kB / 447.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.009465, allocations: 29.72 kB / 447.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.00962, allocations: 318.8 kB / 447.5 MB, free: 376 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.009702, allocations: 31.98 kB / 447.5 MB, free: 344 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.009832, allocations: 83.7 kB / 447.6 MB, free: 232 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.01005, allocations: 119.6 kB / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.01006, allocations: 11.92 kB / 447.7 MB, free: 72 kB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.1836/0.1936, allocations: 140.5 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.1937, allocations: 6.141 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.1937, allocations: 2.094 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.1937, allocations: 3.281 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1939, allocations: 21.89 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1939, allocations: 11.88 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.194, allocations: 12.98 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.194, allocations: 6.422 kB / 447.9 MB, free: 19.02 MB / 366.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.000116/0.1941, allocations: 127 kB / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1941, allocations: 11.75 kB / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.1942, allocations: 16.25 kB / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1942, allocations: 1.312 kB / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1942, allocations: 7.906 kB / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1942, allocations: 2 kB / 448.1 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1943, allocations: 139.4 kB / 448.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1943, allocations: 0 / 448.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1945, allocations: 19.11 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1945, allocations: 0 / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1945, allocations: 2.703 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1945, allocations: 5.391 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1945, allocations: 1.5 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.1949, allocations: 171 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.1949, allocations: 13.47 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1949, allocations: 8.438 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.195, allocations: 3.797 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.195, allocations: 6.188 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.195, allocations: 4.234 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.1951, allocations: 115.2 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1951, allocations: 0 / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1954, allocations: 20.66 kB / 448.6 MB, free: 18.64 MB / 366.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.0001086/0.1955, allocations: 104.5 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.1957, allocations: 75.64 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1957, allocations: 1.188 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.1958, allocations: 33.45 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1961, allocations: 16.31 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.1966, allocations: 244.8 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.177e-05/0.1967, allocations: 94.14 kB / 449.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.1967, allocations: 13.97 kB / 449.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1967, allocations: 14.77 kB / 449.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1967, allocations: 288 / 449.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004384/0.2011, allocations: 1.039 MB / 450.2 MB, free: 18.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.865953106433153]