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.001127/0.001127, allocations: 82.64 kB / 21.44 MB, free: 3.055 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.001024/0.001024, allocations: 169.1 kB / 24.84 MB, free: 9.293 MB / 18.57 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 0.9389/0.9389, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 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.1304/0.1304, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.438e-05, allocations: 6.25 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002269/0.002283, allocations: 1.677 MB / 350.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.003092, allocations: 0.5579 MB / 351.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.003157, allocations: 0 / 351.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/0.003244, allocations: 15.86 kB / 351.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.003292, allocations: 19.81 kB / 351.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003509, allocations: 63.69 kB / 351.2 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.003645, allocations: 103.7 kB / 351.3 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003747, allocations: 19.98 kB / 351.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.003865, allocations: 67.81 kB / 351.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.00396, allocations: 35.88 kB / 351.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.003982, allocations: 8 kB / 351.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.003997, allocations: 8 kB / 351.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.004033, allocations: 31.91 kB / 351.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.004072, allocations: 27.92 kB / 351.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.004192, allocations: 75.72 kB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004194, allocations: 0 / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004194, allocations: 0 / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004198, allocations: 0 / 351.6 MB, free: 6.469 MB / 282.7 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.0004511/0.004649, allocations: 463.4 kB / 352.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.004679, allocations: 16.02 kB / 352.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.004722, allocations: 12.89 kB / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004853, allocations: 156.3 kB / 352.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004865, allocations: 8.375 kB / 352.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.004887, allocations: 12.38 kB / 352.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.005009, allocations: 78.84 kB / 352.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.005021, allocations: 4.188 kB / 352.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005032, allocations: 384 / 352.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005039, allocations: 3.938 kB / 352.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.005084, allocations: 15.98 kB / 352.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.00544, allocations: 316.2 kB / 352.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.867e-05/0.005518, allocations: 50.97 kB / 352.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.005547, allocations: 23.81 kB / 352.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.005559, allocations: 3.984 kB / 352.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.005675, allocations: 84.95 kB / 352.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.005676, allocations: 0 / 352.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001829/0.005859, allocations: 93.5 kB / 352.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.005884, allocations: 59.41 kB / 353 MB, free: 4.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.005957, allocations: 192 kB / 353.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005969, allocations: 29.7 kB / 353.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.006003, allocations: 155 kB / 353.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.006028, allocations: 27.78 kB / 353.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.006073, allocations: 39.34 kB / 353.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.006122, allocations: 0.4884 MB / 353.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.006147, allocations: 11.98 kB / 353.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.006195, allocations: 97.11 kB / 354 MB, free: 3.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.352e-05/0.006289, allocations: 121 kB / 354.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006292, allocations: 3.938 kB / 354.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001581/0.00645, allocations: 113.4 kB / 354.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.006461, allocations: 4 kB / 354.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.006467, allocations: 8 kB / 354.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.006477, allocations: 4 kB / 354.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.006586, allocations: 32.14 kB / 354.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006591, allocations: 7.938 kB / 354.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.006649, allocations: 4 kB / 354.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.006657, allocations: 8 kB / 354.3 MB, free: 3.484 MB / 282.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,$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 6.28e-05/0.00672, allocations: 172.4 kB / 354.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.006742, allocations: 15.91 kB / 354.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.006773, allocations: 12.78 kB / 354.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.006775, allocations: 0 / 354.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006777, allocations: 0 / 354.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.006781, allocations: 7.938 kB / 354.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.991e-05/0.006871, allocations: 125.2 kB / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.006873, allocations: 0 / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.006947, allocations: 11.98 kB / 354.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.00695, allocations: 7.938 kB / 354.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.006962, allocations: 0 / 354.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.006963, allocations: 0 / 354.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006964, allocations: 0 / 354.6 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.007148, allocations: 132.7 kB / 354.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.007163, allocations: 11.89 kB / 354.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.007181, allocations: 0 / 354.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.007233, allocations: 4 kB / 354.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.007261, allocations: 12.02 kB / 354.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.007268, allocations: 7.984 kB / 354.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.754e-05/0.007295, allocations: 141.7 kB / 355 MB, free: 2.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007295, allocations: 0 / 355 MB, free: 2.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.007434, allocations: 23.95 kB / 355 MB, free: 2.754 MB / 282.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,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 5.251e-05/0.007487, allocations: 107.2 kB / 355.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.769e-05/0.007564, allocations: 55.62 kB / 355.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007566, allocations: 4.438 kB / 355.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.007596, allocations: 35.59 kB / 355.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.007722, allocations: 8 kB / 355.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.00808, allocations: 236.9 kB / 355.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.941e-05/0.008099, allocations: 63.34 kB / 355.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.008128, allocations: 20.42 kB / 355.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.008172, allocations: 82.19 kB / 355.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008173, allocations: 0 / 355.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of Templates: time 0.002138/0.01031, allocations: 1.064 MB / 356.6 MB, free: 1.043 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9766903868876398]