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.001259/0.001259, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001403/0.001403, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2221/0.2221, allocations: 46.97 MB / 361.6 MB, free: 3.996 MB / 286.1 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 0.00199/0.00199, allocations: 63.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2893, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002911/0.2922, allocations: 1.66 MB / 0.5634 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2932, allocations: 0.562 MB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.2933, allocations: 4 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.2934, allocations: 7.875 kB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.2934, allocations: 15.8 kB / 0.564 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.2937, allocations: 71.81 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.2939, allocations: 111.7 kB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.294, allocations: 25.3 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2942, allocations: 67.7 kB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2943, allocations: 47.77 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2943, allocations: 8 kB / 0.5643 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.2944, allocations: 20 kB / 0.5643 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.2944, allocations: 27.91 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.2945, allocations: 43.73 kB / 0.5644 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.2947, allocations: 125.9 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2947, allocations: 0 / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2947, allocations: 4 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2947, allocations: 4 kB / 0.5645 GB, free: 1.336 MB / 398.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.0007839/0.2955, allocations: 367.5 kB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2955, allocations: 8.031 kB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.2957, allocations: 28.86 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.296, allocations: 157.9 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.296, allocations: 8.312 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.296, allocations: 16.12 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.2962, allocations: 93.64 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2963, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2963, allocations: 3.938 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2963, allocations: 4 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2964, allocations: 47.97 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.297, allocations: 312.2 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.2971, allocations: 62.58 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.2972, allocations: 20.95 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2972, allocations: 7.938 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.2974, allocations: 95.34 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.2974, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003711/0.2978, allocations: 125.6 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2978, allocations: 59.34 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.298, allocations: 153.8 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.298, allocations: 25.7 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.2981, allocations: 116.1 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.2981, allocations: 27.8 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.2982, allocations: 25.72 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2983, allocations: 322.8 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.2984, allocations: 27.98 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2985, allocations: 91.58 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.2987, allocations: 127.6 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2987, allocations: 0 / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002861/0.299, allocations: 141.6 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2991, allocations: 8 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2991, allocations: 0 / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2991, allocations: 7.938 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2992, allocations: 19.98 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.2992, allocations: 7.938 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.2993, allocations: 12.33 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2993, allocations: 11.98 kB / 0.567 GB, free: 14.61 MB / 414.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 0.0001044/0.2994, allocations: 121.8 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.2994, allocations: 11.95 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.2995, allocations: 24.59 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2995, allocations: 3.984 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2995, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.2995, allocations: 11.89 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.2995, allocations: 4 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.2996, allocations: 7.938 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2996, allocations: 3.984 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003352/0.3, allocations: 188.8 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004025/0.3004, allocations: 334.5 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.189e-05/0.3005, allocations: 31.95 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.419e-05/0.3005, allocations: 113.1 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Backend: time 1.7e-07/0.3005, allocations: 0 / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004381/0.301, allocations: 132.8 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008074/0.3018, allocations: 0.6948 MB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004368/0.3061, allocations: 1.458 MB / 0.57 GB, free: 11.43 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 4.663414691000071]