Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008976/0.0008976, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009485/0.0009485, allocations: 164.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9581/0.9581, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2603/0.2603, allocations: 34.86 MB / 296.6 MB, free: 0.582 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 378.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.2e-05, allocations: 12.58 kB / 378.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002712/0.002744, allocations: 1.713 MB / 380.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.006759, allocations: 0.5686 MB / 381 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.006846, allocations: 4 kB / 381 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.006951, allocations: 11.86 kB / 381 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.007011, allocations: 19.81 kB / 381.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.007321, allocations: 67.67 kB / 381.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.007496, allocations: 119.6 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.007629, allocations: 29.22 kB / 381.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.007798, allocations: 67.88 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.007906, allocations: 35.89 kB / 381.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.00793, allocations: 12 kB / 381.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.007985, allocations: 19.92 kB / 381.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.008021, allocations: 27.92 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.008082, allocations: 35.91 kB / 381.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.008272, allocations: 95.64 kB / 381.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.008276, allocations: 0 / 381.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.008277, allocations: 3.938 kB / 381.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.008282, allocations: 0 / 381.6 MB, free: 15.62 MB / 362.7 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.0006098/0.008892, allocations: 471.5 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.008932, allocations: 8.031 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.009125, allocations: 36.83 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.01236, allocations: 161 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.01238, allocations: 8.375 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.01241, allocations: 8.312 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.01259, allocations: 82.92 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.0126, allocations: 7.922 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.01262, allocations: 4 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01263, allocations: 0 / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.0127, allocations: 22.23 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.01335, allocations: 375.4 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.01345, allocations: 47.14 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.556e-05/0.01348, allocations: 15.69 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.0135, allocations: 4.031 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.01366, allocations: 88.95 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.01366, allocations: 0 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002523/0.01391, allocations: 97.55 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.01395, allocations: 55.41 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.01409, allocations: 205.8 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01411, allocations: 29.7 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.01417, allocations: 154.9 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.0142, allocations: 31.73 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.01426, allocations: 43.3 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.01438, allocations: 0.4962 MB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.01441, allocations: 11.98 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.01449, allocations: 97.11 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.01462, allocations: 129.1 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01462, allocations: 0 / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001854/0.01481, allocations: 121.4 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01483, allocations: 4 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01483, allocations: 8.219 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01485, allocations: 4 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01496, allocations: 27.92 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.01497, allocations: 7.922 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/0.01804, allocations: 8 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01805, allocations: 8 kB / 384.4 MB, free: 12.5 MB / 362.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_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.0001054/0.01816, allocations: 168.5 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.01819, allocations: 15.91 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.01823, allocations: 12.77 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01823, allocations: 8 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01824, allocations: 3.938 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.01824, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.01837, allocations: 144.6 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01838, allocations: 0 / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.01845, allocations: 15.98 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01845, allocations: 96 / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.01847, allocations: 0 / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01847, allocations: 0 / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01847, allocations: 3.984 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.01871, allocations: 140.2 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.01873, allocations: 23.92 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.01875, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.01879, allocations: 4 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.01884, allocations: 3.984 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01885, allocations: 15.94 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.01893, allocations: 150.9 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01893, allocations: 3.938 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000233/0.01916, allocations: 23.94 kB / 385.1 MB, free: 11.71 MB / 362.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_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.0001142/0.01928, allocations: 95.19 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.01943, allocations: 67.53 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01944, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.01949, allocations: 27.67 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.01971, allocations: 16.64 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006752/0.02038, allocations: 250.4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.02042, allocations: 75.77 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.022e-05/0.02046, allocations: 8.5 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.0205, allocations: 16.5 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0205, allocations: 0 / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Templates: time 0.009485/0.02999, allocations: 1.046 MB / 386.7 MB, free: 10.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.014185138978064]