Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001446/0.001446, allocations: 105.2 kB / 20.45 MB, free: 1.5 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.001601/0.001601, allocations: 220.4 kB / 23.76 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2026/0.2026, allocations: 44.23 MB / 331 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 71.89 kB / 468.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1036, allocations: 61.05 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002798/0.1064, allocations: 1.671 MB / 0.519 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000921/0.1073, allocations: 0.5853 MB / 0.5196 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.1074, allocations: 0 / 0.5196 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.633e-05/0.1075, allocations: 11.86 kB / 0.5196 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.1075, allocations: 19.86 kB / 0.5196 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1077, allocations: 55.81 kB / 0.5197 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1079, allocations: 107.7 kB / 0.5198 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.108, allocations: 31.89 kB / 0.5198 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1081, allocations: 51.78 kB / 0.5198 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1082, allocations: 47.77 kB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.1083, allocations: 12 kB / 0.5199 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.1083, allocations: 8 kB / 0.5199 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.1083, allocations: 27.92 kB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.1084, allocations: 39.8 kB / 0.52 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1085, allocations: 99.61 kB / 0.5201 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1085, allocations: 0 / 0.5201 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1085, allocations: 7.875 kB / 0.5201 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1086, allocations: 3.938 kB / 0.5201 GB, free: 4.059 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006537/0.1092, allocations: 355.7 kB / 0.5204 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1092, allocations: 8.031 kB / 0.5204 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.1093, allocations: 20.84 kB / 0.5204 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1095, allocations: 138.4 kB / 0.5206 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1095, allocations: 8.375 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.1095, allocations: 16.36 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1097, allocations: 81.97 kB / 0.5207 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1097, allocations: 4 kB / 0.5207 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1098, allocations: 7.969 kB / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1098, allocations: 0 / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1099, allocations: 51.91 kB / 0.5207 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.1104, allocations: 335.7 kB / 0.5211 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1105, allocations: 66.5 kB / 0.5211 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.1106, allocations: 24.95 kB / 0.5211 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1106, allocations: 8 kB / 0.5211 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1108, allocations: 99.28 kB / 0.5212 GB, free: 2.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1108, allocations: 0 / 0.5212 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003122/0.1111, allocations: 121.5 kB / 0.5214 GB, free: 2.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1112, allocations: 59.39 kB / 0.5214 GB, free: 2.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1113, allocations: 142.9 kB / 0.5216 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1113, allocations: 29.7 kB / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1114, allocations: 108.3 kB / 0.5217 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.1114, allocations: 23.81 kB / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1115, allocations: 29.7 kB / 0.5217 GB, free: 2.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1116, allocations: 322.8 kB / 0.522 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.1117, allocations: 27.98 kB / 0.5221 GB, free: 1.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1118, allocations: 83.97 kB / 0.5221 GB, free: 1.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.112, allocations: 127.6 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.112, allocations: 0 / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002424/0.1122, allocations: 137.6 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1122, allocations: 11.92 kB / 0.5224 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1122, allocations: 4 kB / 0.5224 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1122, allocations: 0 / 0.5224 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1123, allocations: 31.92 kB / 0.5224 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1124, allocations: 7.938 kB / 0.5225 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.1124, allocations: 7.953 kB / 0.5225 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1124, allocations: 4 kB / 0.5225 GB, free: 1.359 MB / 398.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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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.0001061/0.1125, allocations: 129.8 kB / 0.5226 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1126, allocations: 11.94 kB / 0.5226 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.1126, allocations: 12.72 kB / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1126, allocations: 96 / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1126, allocations: 3.938 kB / 0.5226 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1126, allocations: 3.984 kB / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1128, allocations: 184.6 kB / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1128, allocations: 0 / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.1129, allocations: 15.98 kB / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1129, allocations: 0 / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1129, allocations: 8 kB / 0.5228 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1129, allocations: 0 / 0.5228 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1129, allocations: 7.938 kB / 0.5228 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1132, allocations: 161 kB / 0.523 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.1132, allocations: 7.984 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1132, allocations: 8 kB / 0.523 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.1133, allocations: 3.984 kB / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1133, allocations: 15.94 kB / 0.523 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1133, allocations: 7.984 kB / 0.523 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.151e-05/0.1134, allocations: 105.1 kB / 0.5231 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1134, allocations: 0 / 0.5231 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1136, allocations: 16 kB / 0.5231 GB, free: 0.5977 MB / 398.1 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,rootMeanSquare.mean.y) * 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 9.563e-05/0.1137, allocations: 103.2 kB / 0.5232 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1139, allocations: 80.06 kB / 0.5233 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1139, allocations: 0 / 0.5233 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.114, allocations: 31.98 kB / 0.5233 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1142, allocations: 11.98 kB / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.1146, allocations: 278.8 kB / 0.5236 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.115, allocations: 0.7082 MB / 0.5243 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.115, allocations: 19.42 kB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.115, allocations: 0 / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Templates: time 0.002773/0.1178, allocations: 1.332 MB / 0.5256 GB, free: 13.97 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.756054696859792]