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.000903/0.000903, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001078/0.001078, allocations: 167.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2641/0.2641, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 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.934e-06/1.934e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.114e-05, allocations: 2.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002508/0.002539, allocations: 1.712 MB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003607, allocations: 0.5608 MB / 380.8 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.0037, allocations: 0 / 380.8 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.003834, allocations: 15.8 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.0039, allocations: 27.8 kB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.004246, allocations: 59.75 kB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.004429, allocations: 123.6 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.00457, allocations: 29.17 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.004757, allocations: 67.88 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.004893, allocations: 43.88 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.00492, allocations: 8 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.004998, allocations: 16 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.005043, allocations: 27.91 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.005097, allocations: 39.83 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.005285, allocations: 91.66 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005287, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005289, allocations: 4 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.005295, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.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.0006131/0.005908, allocations: 479.3 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.005966, allocations: 12.03 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.006121, allocations: 28.83 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.006304, allocations: 155.9 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.006322, allocations: 20.36 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.006344, allocations: 8.375 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.006481, allocations: 74.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.006495, allocations: 7.938 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006506, allocations: 3.984 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.006513, allocations: 0 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.006551, allocations: 15.98 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.006966, allocations: 344 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/0.007048, allocations: 51.02 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.007076, allocations: 23.78 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.007094, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.007217, allocations: 85 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.007219, allocations: 0 / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002041/0.007423, allocations: 93.55 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.007464, allocations: 51.41 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.00758, allocations: 205.8 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.007596, allocations: 29.7 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.007673, allocations: 162.8 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.007703, allocations: 27.75 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.00775, allocations: 35.34 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.007913, allocations: 0.5001 MB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.007934, allocations: 11.98 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.007999, allocations: 89.17 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.008101, allocations: 125 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008103, allocations: 0 / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001331/0.008236, allocations: 109.4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.00825, allocations: 8 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.008257, allocations: 4 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.008272, allocations: 4.156 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.008357, allocations: 35.92 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.008364, allocations: 7.984 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.008401, allocations: 7.938 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.008408, allocations: 4 kB / 384.1 MB, free: 12.5 MB / 362.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 9.627e-05/0.008504, allocations: 172 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.008523, allocations: 19.91 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.008564, allocations: 16.77 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008566, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008567, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.008574, allocations: 7.938 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.00869, allocations: 125.2 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.008691, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.008737, allocations: 8 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.00874, allocations: 4 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.008752, allocations: 3.984 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008754, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008755, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.008938, allocations: 140.2 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.008953, allocations: 15.91 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.008968, allocations: 0 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/0.008994, allocations: 8.031 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.009033, allocations: 15.92 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.009039, allocations: 0 / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.009099, allocations: 154.3 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009099, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001518/0.009251, allocations: 23.94 kB / 384.8 MB, free: 11.75 MB / 362.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 9.132e-05/0.009343, allocations: 99.23 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.00946, allocations: 56.08 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009462, allocations: 8.062 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.009504, allocations: 23.67 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.009663, allocations: 22.47 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.01023, allocations: 238.5 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.01027, allocations: 71.33 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.447e-05/0.01031, allocations: 12.44 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.01039, allocations: 86.19 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.01039, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003034/0.01342, allocations: 1.117 MB / 386.5 MB, free: 9.98 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.148528185673058]