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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 253.3 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] 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.2384/0.2384, allocations: 44.9 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] 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=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 0.002145/0.002145, allocations: 71.88 kB / 497.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4336, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003585/0.4371, allocations: 1.684 MB / 0.5505 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4382, allocations: 0.5529 MB / 0.551 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.4383, allocations: 1.344 kB / 0.551 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.4384, allocations: 7.875 kB / 0.551 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.4384, allocations: 14.95 kB / 0.551 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.4387, allocations: 62.72 kB / 0.5511 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.4389, allocations: 110.3 kB / 0.5512 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4391, allocations: 21.95 kB / 0.5512 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4392, allocations: 58.52 kB / 0.5513 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.4393, allocations: 43.25 kB / 0.5513 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.4394, allocations: 14.56 kB / 0.5513 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.4394, allocations: 9.375 kB / 0.5513 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.4395, allocations: 24.48 kB / 0.5513 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.4395, allocations: 51.34 kB / 0.5514 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.4397, allocations: 116.2 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4397, allocations: 1.125 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4397, allocations: 0 / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4398, allocations: 0 / 0.5515 GB, free: 11 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008464/0.4406, allocations: 364.1 kB / 0.5519 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4406, allocations: 10.33 kB / 0.5519 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.4407, allocations: 11.7 kB / 0.5519 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.441, allocations: 144.2 kB / 0.552 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.441, allocations: 8 kB / 0.552 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.441, allocations: 6.312 kB / 0.552 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.4413, allocations: 100.2 kB / 0.5521 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.4413, allocations: 4 kB / 0.5521 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4413, allocations: 13.02 kB / 0.5521 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4413, allocations: 2.969 kB / 0.5521 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4415, allocations: 49.81 kB / 0.5522 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.4421, allocations: 345.8 kB / 0.5525 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.4423, allocations: 66.3 kB / 0.5526 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.4423, allocations: 23.86 kB / 0.5526 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4424, allocations: 0 / 0.5526 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.4426, allocations: 100.2 kB / 0.5527 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.4426, allocations: 4 kB / 0.5527 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003696/0.4429, allocations: 126.5 kB / 0.5528 GB, free: 9.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.443, allocations: 56.5 kB / 0.5529 GB, free: 9.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.4432, allocations: 146.1 kB / 0.553 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.4432, allocations: 31.2 kB / 0.553 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.4433, allocations: 100.5 kB / 0.5531 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.4433, allocations: 31.11 kB / 0.5532 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.4434, allocations: 35.92 kB / 0.5532 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4435, allocations: 330.2 kB / 0.5535 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.4436, allocations: 21.95 kB / 0.5535 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4437, allocations: 83.31 kB / 0.5536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.4439, allocations: 124 kB / 0.5537 GB, free: 8.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4439, allocations: 4.875 kB / 0.5537 GB, free: 8.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002986/0.4442, allocations: 137.1 kB / 0.5539 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4443, allocations: 5.531 kB / 0.5539 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4443, allocations: 6.297 kB / 0.5539 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.4443, allocations: 3.219 kB / 0.5539 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4444, allocations: 25.42 kB / 0.5539 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.4444, allocations: 3.5 kB / 0.5539 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.4445, allocations: 24.17 kB / 0.5539 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4445, allocations: 6.375 kB / 0.5539 GB, free: 8.781 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_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.0001372/0.4447, allocations: 125.4 kB / 0.5541 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.4447, allocations: 12.28 kB / 0.5541 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.4447, allocations: 10.97 kB / 0.5541 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4447, allocations: 5 kB / 0.5541 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4447, allocations: 0 / 0.5541 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4447, allocations: 1.156 kB / 0.5541 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.4449, allocations: 177.5 kB / 0.5543 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4449, allocations: 3.938 kB / 0.5543 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4451, allocations: 25.67 kB / 0.5543 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4451, allocations: 1.156 kB / 0.5543 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4451, allocations: 0.9062 kB / 0.5543 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4451, allocations: 4.906 kB / 0.5543 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4451, allocations: 0 / 0.5543 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.4454, allocations: 168.2 kB / 0.5545 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.4455, allocations: 7.328 kB / 0.5545 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.4455, allocations: 2.219 kB / 0.5545 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.4456, allocations: 10.08 kB / 0.5545 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.4456, allocations: 10.2 kB / 0.5545 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.4456, allocations: 3.438 kB / 0.5545 GB, free: 8.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.904e-05/0.4457, allocations: 102.4 kB / 0.5546 GB, free: 8.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4457, allocations: 96 / 0.5546 GB, free: 8.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.4459, allocations: 31.27 kB / 0.5546 GB, free: 8.176 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_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 0.0001288/0.4461, allocations: 100.3 kB / 0.5547 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.4463, allocations: 75.34 kB / 0.5548 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4463, allocations: 0 / 0.5548 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.4464, allocations: 31.27 kB / 0.5548 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.4466, allocations: 16.38 kB / 0.5548 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.4472, allocations: 262.6 kB / 0.5551 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.4476, allocations: 0.6998 MB / 0.5558 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.4477, allocations: 7.5 kB / 0.5558 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.4477, allocations: 16.64 kB / 0.5558 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4477, allocations: 4 kB / 0.5558 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.004298/0.452, allocations: 0.9698 MB / 0.5567 GB, free: 6.605 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.43846380058676]