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.001369/0.001369, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.00164/0.00164, allocations: 164.5 kB / 24.5 MB, free: 3.449 MB / 14.72 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.5/1.5, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] 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.2245/0.2245, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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 0.004255/0.004255, allocations: 83.88 kB / 443.1 MB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3418, allocations: 66.05 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002347/0.3442, allocations: 1.68 MB / 0.4989 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.345, allocations: 0.5556 MB / 0.4994 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.3451, allocations: 3.156 kB / 0.4994 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.3452, allocations: 11.25 kB / 0.4994 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.3452, allocations: 18.86 kB / 0.4995 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.3455, allocations: 69.75 kB / 0.4995 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3457, allocations: 120.3 kB / 0.4996 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3458, allocations: 22.78 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3459, allocations: 53.22 kB / 0.4997 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.346, allocations: 47.11 kB / 0.4998 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.346, allocations: 9.562 kB / 0.4998 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.3461, allocations: 23.14 kB / 0.4998 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/0.3461, allocations: 22.44 kB / 0.4998 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.3462, allocations: 39.48 kB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.3464, allocations: 131.7 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3464, allocations: 4 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3464, allocations: 0 / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3464, allocations: 0 / 0.5 GB, free: 28.01 MB / 446.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.0006196/0.347, allocations: 376.2 kB / 0.5003 GB, free: 27.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.347, allocations: 9.938 kB / 0.5004 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.3472, allocations: 24.56 kB / 0.5004 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.3474, allocations: 152.1 kB / 0.5005 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3474, allocations: 7.594 kB / 0.5005 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.3475, allocations: 17.34 kB / 0.5005 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3476, allocations: 91.59 kB / 0.5006 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3477, allocations: 0 / 0.5006 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3477, allocations: 7.562 kB / 0.5006 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3477, allocations: 3.375 kB / 0.5006 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3478, allocations: 45.05 kB / 0.5007 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.3483, allocations: 315.2 kB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3484, allocations: 63.84 kB / 0.501 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.3485, allocations: 26.42 kB / 0.5011 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3485, allocations: 7.406 kB / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.3486, allocations: 90.17 kB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3486, allocations: 3.281 kB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003103/0.349, allocations: 126 kB / 0.5013 GB, free: 27.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.349, allocations: 62.56 kB / 0.5013 GB, free: 26.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.3491, allocations: 154.3 kB / 0.5015 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3491, allocations: 32.95 kB / 0.5015 GB, free: 26.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.3491, allocations: 102.8 kB / 0.5016 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.3492, allocations: 30.44 kB / 0.5017 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.3492, allocations: 31.17 kB / 0.5017 GB, free: 26.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.3493, allocations: 325.5 kB / 0.502 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.3493, allocations: 23.11 kB / 0.502 GB, free: 26.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.3494, allocations: 87.97 kB / 0.5021 GB, free: 26.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3496, allocations: 126.8 kB / 0.5022 GB, free: 26.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3496, allocations: 0 / 0.5022 GB, free: 26.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002133/0.3498, allocations: 143.2 kB / 0.5024 GB, free: 26.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3498, allocations: 6.125 kB / 0.5024 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3498, allocations: 7.344 kB / 0.5024 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3498, allocations: 3.25 kB / 0.5024 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3499, allocations: 26.77 kB / 0.5024 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.35, allocations: 3.219 kB / 0.5024 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.35, allocations: 10.42 kB / 0.5024 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.35, allocations: 10.41 kB / 0.5024 GB, free: 26.03 MB / 446.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 7.479e-05/0.3501, allocations: 127.7 kB / 0.5025 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.3501, allocations: 14.3 kB / 0.5026 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.3502, allocations: 15.91 kB / 0.5026 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3502, allocations: 384 / 0.5026 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3502, allocations: 0 / 0.5026 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3502, allocations: 3.516 kB / 0.5026 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.708e-05/0.3503, allocations: 139.3 kB / 0.5027 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3503, allocations: 7.219 kB / 0.5027 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.3504, allocations: 9.5 kB / 0.5027 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3504, allocations: 3.938 kB / 0.5027 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3504, allocations: 6.406 kB / 0.5027 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3504, allocations: 7.938 kB / 0.5027 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3504, allocations: 0 / 0.5027 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.3507, allocations: 171.6 kB / 0.5029 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.3507, allocations: 7.172 kB / 0.5029 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.3507, allocations: 7.188 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.3508, allocations: 3.938 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.3508, allocations: 6.609 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3508, allocations: 6.359 kB / 0.5029 GB, free: 25.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.3509, allocations: 116 kB / 0.503 GB, free: 25.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3509, allocations: 0 / 0.503 GB, free: 25.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.3511, allocations: 23.78 kB / 0.5031 GB, free: 25.52 MB / 446.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 7.794e-05/0.3512, allocations: 95.81 kB / 0.5032 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3514, allocations: 78.81 kB / 0.5032 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3514, allocations: 0 / 0.5032 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.3515, allocations: 26.41 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.3517, allocations: 18.53 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.3522, allocations: 282.2 kB / 0.5035 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.3522, allocations: 92.75 kB / 0.5036 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.423e-05/0.3523, allocations: 13.78 kB / 0.5036 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3523, allocations: 14.88 kB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3523, allocations: 4 kB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of Templates: time 0.003549/0.3558, allocations: 1.025 MB / 0.5047 GB, free: 24.93 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/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: 5.193252295954153]