Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009452/0.0009452, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001053/0.001053, allocations: 169.9 kB / 24.91 MB, free: 9.184 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2534/0.2534, allocations: 32.81 MB / 294.6 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.958e-05, allocations: 4.875 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.00293/0.00295, allocations: 1.742 MB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003966, allocations: 0.5725 MB / 325.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.004046, allocations: 7.938 kB / 325.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.004144, allocations: 7.875 kB / 325.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.004211, allocations: 23.78 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.004488, allocations: 63.75 kB / 325.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.004662, allocations: 119.6 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.004783, allocations: 29.83 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.004962, allocations: 75.86 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.005081, allocations: 39.88 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.005105, allocations: 12 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.005173, allocations: 12 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.005211, allocations: 35.84 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.005262, allocations: 35.84 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005426, allocations: 87.7 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005428, allocations: 0 / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005428, allocations: 0 / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.005432, allocations: 4 kB / 326.1 MB, free: 6.793 MB / 298.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.0004744/0.005906, allocations: 330.2 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.00594, allocations: 8.031 kB / 326.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.006101, allocations: 32.91 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.006271, allocations: 142.1 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.006282, allocations: 8.375 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.006306, allocations: 12.38 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.006436, allocations: 87.59 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.006448, allocations: 3.938 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.006461, allocations: 4 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006467, allocations: 4 kB / 326.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.00651, allocations: 10.11 kB / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.006879, allocations: 238.8 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.307e-05/0.006952, allocations: 34.5 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.006976, allocations: 20.84 kB / 327 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.00699, allocations: 3.984 kB / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.007112, allocations: 83.34 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.007113, allocations: 0 / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001536/0.007267, allocations: 73.59 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.007301, allocations: 51.41 kB / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007403, allocations: 149.6 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.007422, allocations: 29.7 kB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.007468, allocations: 108.1 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.007499, allocations: 27.78 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.007548, allocations: 33.69 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.007638, allocations: 326.8 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.00766, allocations: 11.94 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.007717, allocations: 67.7 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.007819, allocations: 91.58 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007821, allocations: 4 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001382/0.007959, allocations: 97.45 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007972, allocations: 4 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007979, allocations: 4.094 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.007993, allocations: 11.92 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.008098, allocations: 27.92 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.008101, allocations: 0 / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.00816, allocations: 24.05 kB / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.008168, allocations: 8 kB / 328.2 MB, free: 4.457 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 7.926e-05/0.008248, allocations: 128.6 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.008263, allocations: 4 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.008296, allocations: 16.77 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008298, allocations: 0 / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0083, allocations: 0 / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008304, allocations: 4 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.008404, allocations: 93.8 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008405, allocations: 0 / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.008466, allocations: 12 kB / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008468, allocations: 0 / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.008483, allocations: 7.984 kB / 328.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008484, allocations: 0 / 328.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.008486, allocations: 4 kB / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.008641, allocations: 105.6 kB / 328.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.008656, allocations: 11.91 kB / 328.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.008674, allocations: 4 kB / 328.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.008714, allocations: 7.984 kB / 328.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.008742, allocations: 0 / 328.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.008753, allocations: 11.98 kB / 328.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.364e-05/0.008787, allocations: 35.86 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008787, allocations: 0 / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.008989, allocations: 27.88 kB / 328.7 MB, free: 3.941 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.963e-05/0.009069, allocations: 80.34 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.009177, allocations: 56.14 kB / 328.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.00918, allocations: 0.625 kB / 328.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.009227, allocations: 24.78 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.009345, allocations: 25.39 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.0099, allocations: 246.1 kB / 329.1 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.009943, allocations: 63.34 kB / 329.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.009988, allocations: 16.42 kB / 329.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.01006, allocations: 63.38 kB / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01006, allocations: 4 kB / 329.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of Templates: time 0.003274/0.01333, allocations: 1.094 MB / 330.4 MB, free: 2.242 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.8719163928180933]