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.001359/0.001359, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001515/0.001515, allocations: 168 kB / 25 MB, free: 8.871 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 0.9789/0.9789, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2506/0.2506, allocations: 34.26 MB / 296 MB, free: 0.7656 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.263e-06/1.263e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.694e-05, allocations: 2.312 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002024/0.002041, allocations: 1.725 MB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.002778, allocations: 0.5686 MB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.002842, allocations: 0 / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.791e-05/0.00293, allocations: 7.875 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.002979, allocations: 27.73 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.003236, allocations: 59.8 kB / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003371, allocations: 123.6 kB / 380.5 MB, free: 468 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003486, allocations: 29.22 kB / 380.5 MB, free: 440 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.003628, allocations: 75.81 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.003724, allocations: 39.88 kB / 380.6 MB, free: 324 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.003744, allocations: 12 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.475e-05/0.003789, allocations: 16 kB / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.003819, allocations: 23.92 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.003867, allocations: 35.84 kB / 380.7 MB, free: 236 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004026, allocations: 91.64 kB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004028, allocations: 0 / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004028, allocations: 0 / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004032, allocations: 0 / 380.8 MB, free: 144 kB / 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.0004917/0.004523, allocations: 479.5 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.004555, allocations: 8.031 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.004708, allocations: 32.83 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.004867, allocations: 160.9 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004878, allocations: 8.359 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.004901, allocations: 12.38 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.005028, allocations: 82.86 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.005037, allocations: 3.938 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.00505, allocations: 7.984 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.005058, allocations: 8 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.005107, allocations: 18.94 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.005494, allocations: 367.4 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.005574, allocations: 47.05 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.005609, allocations: 19.78 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.005626, allocations: 8.031 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.00574, allocations: 88.95 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.005742, allocations: 0 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001916/0.005933, allocations: 97.55 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.005967, allocations: 51.41 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.006075, allocations: 208.8 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.00609, allocations: 29.69 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.00615, allocations: 158.9 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.006176, allocations: 27.75 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.006216, allocations: 39.36 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.006342, allocations: 0.4962 MB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.006373, allocations: 19.98 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.00644, allocations: 93.11 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.006539, allocations: 121 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006541, allocations: 0 / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001402/0.006681, allocations: 125.4 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.006696, allocations: 8 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006701, allocations: 4 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.006713, allocations: 4 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.006797, allocations: 27.92 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.006806, allocations: 11.92 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.006842, allocations: 4 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.006849, allocations: 7.938 kB / 383.7 MB, free: 13.02 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.761e-05/0.006927, allocations: 176.7 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.006942, allocations: 15.91 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.006969, allocations: 16.77 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006971, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.006975, allocations: 3.938 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.006978, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.007073, allocations: 144.6 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.007074, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.007117, allocations: 11.98 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007119, allocations: 96 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.007131, allocations: 8 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007132, allocations: 4 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.007134, allocations: 3.984 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.007299, allocations: 136.2 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.007312, allocations: 11.91 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.007331, allocations: 11.98 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.643e-05/0.007357, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.00739, allocations: 7.984 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.007397, allocations: 7.938 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.544e-05/0.007453, allocations: 154.2 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007453, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.007605, allocations: 27.97 kB / 384.4 MB, free: 12.22 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.457e-05/0.00767, allocations: 95.19 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.00778, allocations: 63.53 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007782, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.00782, allocations: 23.67 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.007965, allocations: 16.64 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.008488, allocations: 258.8 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.008524, allocations: 63.34 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.008555, allocations: 12.48 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.00859, allocations: 12.5 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.008591, allocations: 4 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.00267/0.01126, allocations: 1.058 MB / 386 MB, free: 10.58 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.097906817914918]