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.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.001005/0.001005, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001014/0.001014, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9511/0.9511, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2518/0.2518, allocations: 32.8 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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 1.763e-06/1.763e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.238e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002213/0.002235, allocations: 1.722 MB / 377.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.003029, allocations: 0.5647 MB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.003105, allocations: 11.94 kB / 378.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.003205, allocations: 11.88 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.003256, allocations: 15.84 kB / 378.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.003537, allocations: 67.69 kB / 378.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.00367, allocations: 119.6 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.003796, allocations: 33.22 kB / 378.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.003992, allocations: 71.81 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.004108, allocations: 35.89 kB / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.004131, allocations: 16 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.004194, allocations: 19.92 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.004234, allocations: 23.92 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.004298, allocations: 35.91 kB / 378.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.004502, allocations: 87.7 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004505, allocations: 4 kB / 378.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004506, allocations: 3.938 kB / 378.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.00451, allocations: 0 / 378.8 MB, free: 1.816 MB / 346.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.0005185/0.005028, allocations: 471.5 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.00506, allocations: 12.03 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.005198, allocations: 40.83 kB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.005368, allocations: 152.9 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.005381, allocations: 4.375 kB / 379.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.005412, allocations: 12.36 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.005545, allocations: 85.59 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.005555, allocations: 3.938 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.005567, allocations: 7.984 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005575, allocations: 0 / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.005624, allocations: 27.92 kB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.006026, allocations: 367.5 kB / 380 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.006104, allocations: 51.08 kB / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.006132, allocations: 19.69 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.00615, allocations: 0 / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.006266, allocations: 92.98 kB / 380.1 MB, free: 364 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 7.22e-07/0.006266, allocations: 0 / 380.1 MB, free: 364 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002049/0.006471, allocations: 97.56 kB / 380.2 MB, free: 260 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.006505, allocations: 59.39 kB / 380.3 MB, free: 188 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.006619, allocations: 200.9 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.006633, allocations: 33.64 kB / 380.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.006686, allocations: 150.9 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.006712, allocations: 35.72 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.00675, allocations: 39.3 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.006858, allocations: 0.4962 MB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.006889, allocations: 12 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.006955, allocations: 97.16 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.007059, allocations: 125 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007061, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001364/0.007198, allocations: 129.5 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00721, allocations: 6.344 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.007216, allocations: 4 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.007233, allocations: 4 kB / 381.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.00733, allocations: 23.98 kB / 381.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.007336, allocations: 3.938 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.007373, allocations: 7.984 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.007382, allocations: 15.94 kB / 381.7 MB, free: 14.69 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 7.389e-05/0.007456, allocations: 164.5 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.007473, allocations: 15.91 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.007503, allocations: 16.8 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.007506, allocations: 4 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.007511, allocations: 3.938 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.007513, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.948e-05/0.007603, allocations: 140.6 kB / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007604, allocations: 96 / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.00765, allocations: 23.92 kB / 382 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007652, allocations: 3.984 kB / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.007664, allocations: 0 / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007665, allocations: 0 / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.007667, allocations: 8 kB / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.007844, allocations: 140.2 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.007857, allocations: 11.91 kB / 382.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.007874, allocations: 7.984 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.007901, allocations: 4 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.007936, allocations: 3.984 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.007945, allocations: 7.938 kB / 382.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.008008, allocations: 151.2 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008009, allocations: 3.938 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.008153, allocations: 23.94 kB / 382.4 MB, free: 13.9 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 8.496e-05/0.008238, allocations: 99.28 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.008372, allocations: 59.53 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008373, allocations: 4 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.008418, allocations: 27.61 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.008575, allocations: 19.73 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.009177, allocations: 250.9 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.009287, allocations: 63.34 kB / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.009321, allocations: 12.48 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.009357, allocations: 16.5 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009357, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Templates: time 0.002991/0.01235, allocations: 1.052 MB / 384 MB, free: 12.26 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] 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","",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.0895938016474247]