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.001662/0.001662, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002042/0.002042, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 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.2357/0.2357, allocations: 46.95 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002119/0.002119, allocations: 67.84 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003283/0.3308, allocations: 1.653 MB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.332, allocations: 0.5621 MB / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.3321, allocations: 3.938 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3322, allocations: 11.86 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.3322, allocations: 15.81 kB / 0.564 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3325, allocations: 63.81 kB / 0.5641 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3327, allocations: 123.7 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3329, allocations: 21.3 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.333, allocations: 63.77 kB / 0.5643 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3331, allocations: 39.72 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3332, allocations: 12 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.3332, allocations: 16 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.3333, allocations: 35.89 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.3334, allocations: 39.8 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.3336, allocations: 125.9 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3336, allocations: 0 / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3336, allocations: 4 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3336, allocations: 0 / 0.5645 GB, free: 1.367 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.0007995/0.3344, allocations: 379.3 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3344, allocations: 8.031 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.3346, allocations: 24.88 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3349, allocations: 153.7 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3349, allocations: 4.375 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.3349, allocations: 20.11 kB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.3352, allocations: 97.58 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3352, allocations: 4 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3352, allocations: 0 / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3352, allocations: 3.984 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.3354, allocations: 51.97 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3359, allocations: 312.2 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3361, allocations: 50.61 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.3361, allocations: 28.94 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3362, allocations: 0 / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.3364, allocations: 107.2 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3364, allocations: 0 / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003999/0.3368, allocations: 129.5 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3368, allocations: 59.34 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.337, allocations: 149.8 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.337, allocations: 29.7 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.3371, allocations: 108.2 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3371, allocations: 23.81 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.3372, allocations: 33.7 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3374, allocations: 322.8 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.3375, allocations: 23.98 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3376, allocations: 98.39 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3378, allocations: 123.9 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3378, allocations: 0 / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002749/0.3381, allocations: 141.4 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3381, allocations: 8.219 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3381, allocations: 11.88 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3381, allocations: 4 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3382, allocations: 19.98 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3382, allocations: 7.938 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.3383, allocations: 11.95 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3383, allocations: 8 kB / 0.567 GB, free: 14.63 MB / 414.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.0001252/0.3385, allocations: 125.8 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3385, allocations: 11.95 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.3385, allocations: 16.66 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3385, allocations: 4 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3385, allocations: 96 / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3385, allocations: 3.984 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3387, allocations: 149.2 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3387, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3388, allocations: 15.92 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3388, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3388, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3388, allocations: 7.938 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3388, allocations: 0 / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.3392, allocations: 172.9 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.3392, allocations: 7.984 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3392, allocations: 0 / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.3393, allocations: 15.92 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3393, allocations: 4 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3393, allocations: 3.984 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.3394, allocations: 112.8 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3394, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3396, allocations: 19.98 kB / 0.5676 GB, free: 13.91 MB / 414.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.0001278/0.3398, allocations: 99.31 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.34, allocations: 79.88 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.34, allocations: 3.938 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.3401, allocations: 35.91 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.3403, allocations: 12 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.3409, allocations: 295.7 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.341, allocations: 97.67 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.341, allocations: 15.42 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.341, allocations: 3.938 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.003385/0.3444, allocations: 1.462 MB / 0.5696 GB, free: 11.77 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/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: 7.646340447943658]