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.0008203/0.0008203, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.002981/0.002981, allocations: 159 kB / 24.7 MB, free: 9.441 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.8346/0.8346, allocations: 177 MB / 204.9 MB, free: 5.734 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.2285/0.2285, allocations: 34.24 MB / 295.6 MB, free: 0.6641 MB / 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.934e-06/1.934e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.249e-05, allocations: 2.281 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.203/0.2031, allocations: 1.67 MB / 445.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.2038, allocations: 0.5578 MB / 445.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.2039, allocations: 0 / 445.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.689e-05/0.204, allocations: 11.16 kB / 445.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.204, allocations: 21.98 kB / 445.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.2042, allocations: 74.12 kB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2044, allocations: 114.7 kB / 445.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2045, allocations: 28.64 kB / 445.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2046, allocations: 71.23 kB / 445.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.2047, allocations: 32.31 kB / 446 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2047, allocations: 11.66 kB / 446 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.2047, allocations: 26.09 kB / 446 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.2048, allocations: 26.73 kB / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.2048, allocations: 28.11 kB / 446.1 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2049, allocations: 127.3 kB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.205, allocations: 5.969 kB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.205, allocations: 3.938 kB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.205, allocations: 0.7188 kB / 446.2 MB, free: 43.36 MB / 410.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.0004955/0.2055, allocations: 369.2 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2055, allocations: 9.125 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.2056, allocations: 29.23 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2058, allocations: 152.8 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2058, allocations: 7.25 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2058, allocations: 6.688 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2059, allocations: 98.58 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2059, allocations: 10.66 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2059, allocations: 4 kB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2059, allocations: 2.781 kB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.206, allocations: 51.86 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.2063, allocations: 307.3 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.621e-05/0.2064, allocations: 55.94 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.2065, allocations: 34.39 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2065, allocations: 1.5 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.2066, allocations: 101.8 kB / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2066, allocations: 0 / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002189/0.2068, allocations: 128.4 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.2068, allocations: 51.41 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.2069, allocations: 150.4 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2069, allocations: 37.23 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.2069, allocations: 108.4 kB / 447.9 MB, free: 42.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.207, allocations: 26.73 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.207, allocations: 35.67 kB / 447.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.207, allocations: 320.9 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.2071, allocations: 29.8 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.987e-05/0.2071, allocations: 86.53 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.07e-05/0.2072, allocations: 125.6 kB / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2072, allocations: 0 / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001249/0.2073, allocations: 145.2 kB / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.2073, allocations: 9.219 kB / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2074, allocations: 2.594 kB / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2074, allocations: 6.875 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.2074, allocations: 22.25 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2074, allocations: 7 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.2075, allocations: 12.28 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2075, allocations: 5.438 kB / 448.7 MB, free: 41.45 MB / 410.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 5.898e-05/0.2075, allocations: 130.4 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.2076, allocations: 20.75 kB / 448.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2076, allocations: 8.781 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2076, allocations: 2.688 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2076, allocations: 7.938 kB / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2076, allocations: 0 / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.235e-05/0.2077, allocations: 139.3 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.2077, allocations: 0 / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.2077, allocations: 11.12 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2077, allocations: 5.469 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2077, allocations: 7.375 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2077, allocations: 3.938 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2077, allocations: 0 / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2079, allocations: 172.1 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.2079, allocations: 10.73 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2079, allocations: 6.875 kB / 449.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.2079, allocations: 5.891 kB / 449.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.208, allocations: 5.953 kB / 449.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.208, allocations: 6.719 kB / 449.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.347e-05/0.208, allocations: 113.2 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.208, allocations: 3.938 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.2081, allocations: 23.81 kB / 449.4 MB, free: 40.93 MB / 410.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.037e-05/0.2082, allocations: 92.25 kB / 449.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.2083, allocations: 83.44 kB / 449.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-06/0.2083, allocations: 0 / 449.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.2084, allocations: 44.09 kB / 449.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.2085, allocations: 11.83 kB / 449.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.2089, allocations: 261.9 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.753e-05/0.2089, allocations: 93.84 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.209, allocations: 20.88 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.209, allocations: 0 / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of Templates: time 0.001897/0.2109, allocations: 1.474 MB / 451.4 MB, free: 40.42 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.9046310456469655]