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.002051/0.002051, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002192/0.002192, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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 1.461/1.461, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2556/0.2556, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 2.915e-06/2.915e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.839e-05/6.13e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004061/0.004123, allocations: 1.648 MB / 348.6 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.005403, allocations: 0.558 MB / 349.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.005518, allocations: 0 / 349.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.005704, allocations: 11.86 kB / 349.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.005767, allocations: 23.73 kB / 349.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.006182, allocations: 51.83 kB / 349.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.006401, allocations: 115.6 kB / 349.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.006625, allocations: 27.92 kB / 349.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.006803, allocations: 59.88 kB / 349.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.006961, allocations: 31.89 kB / 349.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.007004, allocations: 12 kB / 349.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.007031, allocations: 8 kB / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.007099, allocations: 23.91 kB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.007185, allocations: 31.92 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.007468, allocations: 115.6 kB / 349.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.007475, allocations: 0 / 349.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.007477, allocations: 0 / 349.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.007488, allocations: 4 kB / 349.6 MB, free: 7.09 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.000996/0.008484, allocations: 467.2 kB / 350.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.008542, allocations: 12.03 kB / 350.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.008632, allocations: 20.88 kB / 350.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.008924, allocations: 164.3 kB / 350.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.008945, allocations: 4.375 kB / 350.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.008985, allocations: 8.375 kB / 350.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.009226, allocations: 82.22 kB / 350.4 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.00925, allocations: 4.172 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.009269, allocations: 4.375 kB / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.009278, allocations: 3.938 kB / 350.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.009424, allocations: 35.98 kB / 350.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.01009, allocations: 359.5 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.01025, allocations: 63.05 kB / 350.8 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.01034, allocations: 35.75 kB / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.01038, allocations: 0 / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.01062, allocations: 105 kB / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.01062, allocations: 0 / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004418/0.01106, allocations: 125.5 kB / 351.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.01111, allocations: 59.34 kB / 351.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.01126, allocations: 212 kB / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01128, allocations: 29.69 kB / 351.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.01136, allocations: 155 kB / 351.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.0114, allocations: 27.84 kB / 351.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.01146, allocations: 39.36 kB / 351.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.01159, allocations: 0.504 MB / 352.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.01166, allocations: 31.88 kB / 352.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01176, allocations: 106.1 kB / 352.2 MB, free: 4.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.01192, allocations: 145 kB / 352.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01193, allocations: 4 kB / 352.4 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002324/0.01216, allocations: 145.4 kB / 352.5 MB, free: 3.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.01219, allocations: 4 kB / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.0122, allocations: 4 kB / 352.5 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.01223, allocations: 0 / 352.5 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.01239, allocations: 28.02 kB / 352.6 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.0124, allocations: 4 kB / 352.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.01248, allocations: 12.22 kB / 352.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.0125, allocations: 15.97 kB / 352.6 MB, free: 3.836 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 0.0001635/0.01266, allocations: 176.4 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.0127, allocations: 15.91 kB / 352.8 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.01276, allocations: 12.78 kB / 352.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01276, allocations: 0 / 352.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.01277, allocations: 0 / 352.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.01277, allocations: 3.984 kB / 352.8 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01294, allocations: 160.5 kB / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01294, allocations: 0 / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.01304, allocations: 15.98 kB / 353 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01304, allocations: 0 / 353 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.01306, allocations: 4 kB / 353 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01306, allocations: 4 kB / 353 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.01306, allocations: 4 kB / 353 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.01338, allocations: 172.2 kB / 353.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.0134, allocations: 15.94 kB / 353.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.01343, allocations: 3.938 kB / 353.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.01349, allocations: 4 kB / 353.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.01356, allocations: 12.02 kB / 353.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01357, allocations: 4 kB / 353.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.225e-05/0.01365, allocations: 161.6 kB / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01365, allocations: 0 / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.01392, allocations: 19.95 kB / 353.4 MB, free: 2.996 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 0.0001616/0.01408, allocations: 95.72 kB / 353.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.01437, allocations: 87.52 kB / 353.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01437, allocations: 448 / 353.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.01446, allocations: 47.61 kB / 353.6 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.01473, allocations: 11.94 kB / 353.6 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.0154, allocations: 244.9 kB / 353.8 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.01548, allocations: 88.3 kB / 353.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.01554, allocations: 16.48 kB / 354 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.01559, allocations: 12.5 kB / 354 MB, free: 2.34 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01559, allocations: 0 / 354 MB, free: 2.34 MB / 282.7 MB Notification: Performance of Templates: time 0.00526/0.02085, allocations: 0.9703 MB / 354.9 MB, free: 1.391 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","/var/lib/jenkins/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: 5.622974658035673]