Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001961/0.001961, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002183/0.002183, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3713/0.3713, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.935e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003168/0.003198, allocations: 1.659 MB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.004454, allocations: 0.5686 MB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.004536, allocations: 4 kB / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.004661, allocations: 7.875 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.004726, allocations: 19.78 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.005068, allocations: 67.75 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.00527, allocations: 123.6 kB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.005416, allocations: 25.16 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.005624, allocations: 79.69 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.005749, allocations: 39.88 kB / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.005779, allocations: 8 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.005856, allocations: 16 kB / 379.9 MB, free: 352 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.005905, allocations: 27.91 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.005988, allocations: 35.91 kB / 379.9 MB, free: 288 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.006234, allocations: 127.6 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006237, allocations: 4 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.006239, allocations: 0 / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.006245, allocations: 0 / 380.1 MB, free: 156 kB / 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.000906/0.007151, allocations: 367.5 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.00719, allocations: 11.97 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.007443, allocations: 40.81 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.007719, allocations: 146.2 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.007739, allocations: 16.31 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.007784, allocations: 12.38 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.00804, allocations: 89.72 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.008057, allocations: 7.938 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.008077, allocations: 4 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.008083, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.008244, allocations: 51.91 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.008914, allocations: 308.2 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.009083, allocations: 62.58 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.009161, allocations: 24.95 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.009185, allocations: 4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.009419, allocations: 99.23 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.00942, allocations: 0 / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004248/0.009845, allocations: 129.5 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.009906, allocations: 63.39 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.01007, allocations: 148.8 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.0101, allocations: 29.7 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.01019, allocations: 104.2 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.01023, allocations: 31.8 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.0103, allocations: 33.7 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.01048, allocations: 318.8 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.01057, allocations: 27.92 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.01071, allocations: 83.7 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01094, allocations: 131.6 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01095, allocations: 0 / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003058/0.01125, allocations: 153.4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01127, allocations: 4 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.01128, allocations: 4 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.0113, allocations: 0 / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01143, allocations: 23.98 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.01144, allocations: 11.88 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.01152, allocations: 11.98 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01153, allocations: 4 kB / 382.6 MB, free: 13.42 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.0001366/0.01167, allocations: 129.8 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.0117, allocations: 20 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.01174, allocations: 20.7 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01174, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.01175, allocations: 3.938 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01175, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.01193, allocations: 145.3 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01193, allocations: 0 / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.01203, allocations: 15.92 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01203, allocations: 0 / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.01205, allocations: 4 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01205, allocations: 4 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01205, allocations: 0 / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.01245, allocations: 172.9 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.01247, allocations: 15.92 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.0125, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.01257, allocations: 4 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.01261, allocations: 3.984 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01262, allocations: 7.938 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.01273, allocations: 118.4 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01273, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01297, allocations: 24.06 kB / 383.3 MB, free: 12.68 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.0001161/0.01309, allocations: 91.25 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.01332, allocations: 79.83 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01332, allocations: 0 / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01343, allocations: 31.92 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01364, allocations: 18.61 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.0142, allocations: 249.9 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.01431, allocations: 89.31 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.01437, allocations: 16.33 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.01442, allocations: 16.5 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01442, allocations: 7.938 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of Templates: time 0.004353/0.01877, allocations: 1.04 MB / 384.9 MB, free: 11.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.923046242096461]