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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.5 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.18 MB / 336.8 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 68.48 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003132/0.1223, allocations: 1.717 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009768/0.1233, allocations: 0.5182 MB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1235, allocations: 0 / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.1236, allocations: 11.92 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/0.1237, allocations: 11.92 kB / 471.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.124, allocations: 47.89 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1241, allocations: 103.7 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1243, allocations: 33.38 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1244, allocations: 47.8 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1245, allocations: 43.77 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.1246, allocations: 7.984 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-05/0.1246, allocations: 4 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.1246, allocations: 19.92 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.1247, allocations: 43.8 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1249, allocations: 76.03 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1249, allocations: 4 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1249, allocations: 4 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1249, allocations: 0 / 471.9 MB, free: 12.13 MB / 350.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.0007546/0.1256, allocations: 411.1 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1257, allocations: 8.031 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.1257, allocations: 16.75 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.126, allocations: 212.1 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.126, allocations: 4.375 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.126, allocations: 8.375 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.1263, allocations: 105.9 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1263, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1263, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1263, allocations: 4 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1265, allocations: 51.91 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.1271, allocations: 380.5 kB / 473 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1273, allocations: 66.48 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.1274, allocations: 20.95 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1274, allocations: 8.031 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.1276, allocations: 103.2 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.1276, allocations: 0 / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003698/0.128, allocations: 125.5 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.1281, allocations: 59.34 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1282, allocations: 136.3 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1282, allocations: 33.7 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.1283, allocations: 115.9 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1283, allocations: 31.62 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.1284, allocations: 29.7 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1285, allocations: 322.8 kB / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.1286, allocations: 31.98 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1288, allocations: 83.72 kB / 474.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1289, allocations: 119.6 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.129, allocations: 0 / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002635/0.1292, allocations: 137.5 kB / 474.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1293, allocations: 4 kB / 474.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1293, allocations: 12.2 kB / 474.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1293, allocations: 4 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1294, allocations: 27.86 kB / 474.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1294, allocations: 7.984 kB / 474.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.1295, allocations: 15.83 kB / 474.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1295, allocations: 4 kB / 474.5 MB, free: 9.211 MB / 350.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.0001174/0.1297, allocations: 126.3 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1297, allocations: 7.906 kB / 474.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.1297, allocations: 24.7 kB / 474.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1298, allocations: 3.938 kB / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1298, allocations: 0 / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.1298, allocations: 0 / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.13, allocations: 205.5 kB / 474.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.13, allocations: 0 / 474.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.764e-05/0.1301, allocations: 8.375 kB / 474.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1301, allocations: 3.984 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1301, allocations: 8 kB / 474.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1301, allocations: 3.938 kB / 474.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1301, allocations: 7.938 kB / 474.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.1305, allocations: 160.9 kB / 475.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1305, allocations: 84.92 kB / 475.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1306, allocations: 8.031 kB / 475.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1306, allocations: 7.922 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1307, allocations: 7.938 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1307, allocations: 7.984 kB / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.1308, allocations: 115.3 kB / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1308, allocations: 0 / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.131, allocations: 16 kB / 475.3 MB, free: 8.324 MB / 350.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_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 9.199e-05/0.1311, allocations: 99.23 kB / 475.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1314, allocations: 75.84 kB / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1314, allocations: 448 / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.1315, allocations: 35.98 kB / 475.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.1317, allocations: 14.33 kB / 475.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.1322, allocations: 312.5 kB / 475.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1325, allocations: 0.7082 MB / 476.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.1325, allocations: 15.42 kB / 476.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1326, allocations: 288 / 476.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Templates: time 0.003131/0.1357, allocations: 1.358 MB / 477.9 MB, free: 5.652 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches