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.001211/0.001211, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001214/0.001214, allocations: 172.4 kB / 25.61 MB, free: 8.914 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.062/1.062, allocations: 177.2 MB / 206.1 MB, free: 4.496 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.1455/0.1455, allocations: 32.81 MB / 295.4 MB, free: 15.38 MB / 282.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.263e-06/1.263e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.494e-05, allocations: 9.547 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002141/0.002166, allocations: 1.702 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007198/0.002886, allocations: 0.5685 MB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.002962, allocations: 4 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.003082, allocations: 15.86 kB / 379.5 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.003131, allocations: 15.81 kB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.003417, allocations: 67.73 kB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.003558, allocations: 119.6 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.003673, allocations: 21.3 kB / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.00381, allocations: 83.69 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.003914, allocations: 35.88 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.003935, allocations: 8 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.003985, allocations: 24 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.004019, allocations: 27.91 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.00406, allocations: 35.84 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.004213, allocations: 87.72 kB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004215, allocations: 0 / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004216, allocations: 0 / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004221, allocations: 0 / 380.1 MB, free: 22.79 MB / 314.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.0004066/0.004627, allocations: 467.5 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.004661, allocations: 15.98 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.004789, allocations: 44.7 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.00492, allocations: 156.9 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.004932, allocations: 12.36 kB / 380.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.00495, allocations: 8.375 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.005054, allocations: 78.92 kB / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.005063, allocations: 3.938 kB / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005074, allocations: 3.984 kB / 380.8 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.005079, allocations: 0 / 380.8 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.005113, allocations: 19.92 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.005417, allocations: 336.1 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.005483, allocations: 50.97 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.005503, allocations: 19.81 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.005516, allocations: 4 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.719e-05/0.005613, allocations: 84.91 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.005614, allocations: 0 / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001634/0.005778, allocations: 97.53 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.005804, allocations: 55.41 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.00587, allocations: 208.4 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.005879, allocations: 25.7 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.005914, allocations: 158.9 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.005934, allocations: 27.8 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.005966, allocations: 35.34 kB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.006015, allocations: 0.4962 MB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.006032, allocations: 11.98 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.006069, allocations: 96.33 kB / 382.5 MB, free: 20.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.006141, allocations: 125.1 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.006144, allocations: 4 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001105/0.006254, allocations: 117.5 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.006266, allocations: 8 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.006273, allocations: 4 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.006283, allocations: 0 / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.006362, allocations: 23.98 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006367, allocations: 11.92 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.006401, allocations: 15.88 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.006407, allocations: 4 kB / 382.8 MB, free: 19.72 MB / 314.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 5.564e-05/0.006463, allocations: 164.6 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.006477, allocations: 11.91 kB / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.006507, allocations: 20.77 kB / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006509, allocations: 0 / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006511, allocations: 0 / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.006515, allocations: 3.938 kB / 383 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.836e-05/0.006594, allocations: 137.1 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006595, allocations: 0 / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.00664, allocations: 15.94 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006641, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.006652, allocations: 3.984 kB / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.006653, allocations: 0 / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006654, allocations: 0 / 383.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.006794, allocations: 136.6 kB / 383.3 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.006806, allocations: 15.91 kB / 383.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.00682, allocations: 4 kB / 383.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.511e-05/0.006845, allocations: 0 / 383.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.006873, allocations: 11.98 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.006879, allocations: 0 / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.966e-05/0.006908, allocations: 154.3 kB / 383.5 MB, free: 19 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006908, allocations: 0 / 383.5 MB, free: 19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.007048, allocations: 20 kB / 383.5 MB, free: 18.98 MB / 314.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.385e-05/0.007112, allocations: 99.39 kB / 383.6 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.498e-05/0.007197, allocations: 71.5 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007198, allocations: 0 / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.007235, allocations: 27.61 kB / 383.7 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.007388, allocations: 12 kB / 383.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.007819, allocations: 248.7 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.007846, allocations: 75.33 kB / 384 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.007878, allocations: 8.438 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.007937, allocations: 86.19 kB / 384.1 MB, free: 18.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.007938, allocations: 0 / 384.1 MB, free: 18.3 MB / 314.7 MB Notification: Performance of Templates: time 0.002522/0.01046, allocations: 1.141 MB / 385.3 MB, free: 17.18 MB / 314.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: 3.155020128004253]