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.0009409/0.0009409, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0008744/0.0008744, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.937/0.937, allocations: 177.1 MB / 205 MB, free: 5.609 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.2458/0.2458, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.523e-06/1.523e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.043e-05, allocations: 10.25 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001902/0.001923, allocations: 1.71 MB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007163/0.002639, allocations: 0.5764 MB / 378.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.0027, allocations: 0 / 378.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.002802, allocations: 11.86 kB / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.002857, allocations: 19.8 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.003137, allocations: 67.69 kB / 378.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.003271, allocations: 123.6 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.00339, allocations: 29.23 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.003532, allocations: 67.88 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.003631, allocations: 43.81 kB / 378.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.003652, allocations: 8 kB / 378.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/0.0037, allocations: 20 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.003732, allocations: 23.91 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.003782, allocations: 35.91 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.003935, allocations: 91.59 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003938, allocations: 4 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003939, allocations: 0 / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.003943, allocations: 4 kB / 378.8 MB, free: 1.852 MB / 346.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.0007463/0.004689, allocations: 471.5 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.004723, allocations: 12.03 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.004871, allocations: 28.83 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.005043, allocations: 160.9 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.005058, allocations: 12.38 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.005081, allocations: 12.38 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.005218, allocations: 82.91 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.00523, allocations: 7.938 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005243, allocations: 4 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.00525, allocations: 0 / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.0053, allocations: 23.22 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.005694, allocations: 367.4 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.304e-05/0.005777, allocations: 47.05 kB / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.005807, allocations: 27.75 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.005821, allocations: 0 / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.005937, allocations: 93.02 kB / 380.1 MB, free: 400 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.005938, allocations: 0 / 380.1 MB, free: 400 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001915/0.006129, allocations: 97.53 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.00616, allocations: 55.41 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.006252, allocations: 205 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.006277, allocations: 29.7 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.00633, allocations: 162.8 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.006353, allocations: 27.75 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.006391, allocations: 35.36 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.006494, allocations: 0.504 MB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.006523, allocations: 11.98 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.006581, allocations: 97.17 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.006674, allocations: 117 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.006677, allocations: 4 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001368/0.006814, allocations: 117.4 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.006826, allocations: 11.98 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.006833, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.006846, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.006934, allocations: 27.92 kB / 381.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.006941, allocations: 7.938 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.006974, allocations: 8 kB / 381.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.006981, allocations: 8.219 kB / 381.7 MB, free: 14.73 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 7.196e-05/0.007053, allocations: 172.5 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.007069, allocations: 15.91 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.007097, allocations: 16.77 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007099, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.007103, allocations: 3.938 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007106, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.007196, allocations: 152.6 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.007196, allocations: 0 / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.007237, allocations: 8 kB / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007239, allocations: 4 kB / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.007255, allocations: 7.984 kB / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007256, allocations: 0 / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007257, allocations: 0 / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.007423, allocations: 144.2 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.007435, allocations: 15.89 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.00745, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.007477, allocations: 4 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.007508, allocations: 7.984 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.007516, allocations: 15.81 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.154e-05/0.007568, allocations: 155.2 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007568, allocations: 0 / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.007718, allocations: 19.94 kB / 382.4 MB, free: 13.94 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 6.368e-05/0.007782, allocations: 95.25 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.007894, allocations: 67.59 kB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.007896, allocations: 0 / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.007935, allocations: 31.67 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.008072, allocations: 9.094 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.008554, allocations: 254.4 kB / 382.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.008588, allocations: 71.33 kB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.008621, allocations: 4.5 kB / 382.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.008654, allocations: 20.48 kB / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008654, allocations: 0 / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of Templates: time 0.002507/0.01116, allocations: 1.092 MB / 384 MB, free: 12.26 MB / 362.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 -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.908831321168691]