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.001537/0.001537, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001683/0.001683, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.2307/0.2307, allocations: 46.93 MB / 361.5 MB, free: 4.16 MB / 286.1 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 0.002188/0.002188, allocations: 79.88 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3733, allocations: 66.08 MB / 0.5619 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003001/0.3763, allocations: 1.711 MB / 0.5636 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3775, allocations: 0.5932 MB / 0.5642 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.3775, allocations: 4 kB / 0.5642 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3777, allocations: 11.86 kB / 0.5642 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.3777, allocations: 23.78 kB / 0.5642 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.378, allocations: 67.81 kB / 0.5643 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.3782, allocations: 111.6 kB / 0.5644 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3783, allocations: 25.3 kB / 0.5644 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3785, allocations: 59.77 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3786, allocations: 55.75 kB / 0.5645 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.3786, allocations: 8 kB / 0.5645 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.3787, allocations: 20 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.3787, allocations: 35.8 kB / 0.5646 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.3788, allocations: 47.73 kB / 0.5646 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.379, allocations: 129.8 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.379, allocations: 0 / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.379, allocations: 0 / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.379, allocations: 0 / 0.5648 GB, free: 1.289 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.0007369/0.3798, allocations: 371.5 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3798, allocations: 12.03 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.38, allocations: 28.88 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3802, allocations: 154.2 kB / 0.5653 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3802, allocations: 8.375 kB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.3803, allocations: 16.12 kB / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.3805, allocations: 85.64 kB / 0.5654 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3805, allocations: 0 / 0.5654 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3805, allocations: 8 kB / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3805, allocations: 0 / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3807, allocations: 55.95 kB / 0.5655 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.3813, allocations: 359.5 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3815, allocations: 58.5 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.3815, allocations: 28.98 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3816, allocations: 4 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.3818, allocations: 95.34 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3818, allocations: 0 / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003536/0.3821, allocations: 125.5 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3822, allocations: 67.33 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3823, allocations: 145.8 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3823, allocations: 29.7 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.3824, allocations: 108.2 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.3825, allocations: 36.16 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.3825, allocations: 33.64 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3827, allocations: 322.8 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.3827, allocations: 23.98 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3829, allocations: 90.12 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3831, allocations: 127.6 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3831, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002493/0.3833, allocations: 141.5 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3833, allocations: 7.938 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3833, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3834, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3835, allocations: 23.92 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3835, allocations: 4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.3836, allocations: 11.94 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3836, allocations: 8 kB / 0.5673 GB, free: 14.5 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.0001265/0.3837, allocations: 134 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.3837, allocations: 11.89 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.3838, allocations: 12.7 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3838, allocations: 4 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3838, allocations: 0 / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3838, allocations: 96 / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.384, allocations: 176.6 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.384, allocations: 4 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.3841, allocations: 15.98 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3841, allocations: 7.938 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3841, allocations: 4 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3841, allocations: 4 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3841, allocations: 0 / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.3844, allocations: 168.9 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.3844, allocations: 7.891 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3844, allocations: 7.969 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.3845, allocations: 12.05 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3846, allocations: 7.984 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3846, allocations: 4 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.3847, allocations: 106.3 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3847, allocations: 0 / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.3849, allocations: 23.98 kB / 0.5679 GB, free: 13.73 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.0001117/0.385, allocations: 107.2 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3852, allocations: 71.84 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3852, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.3853, allocations: 35.97 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.3855, allocations: 15.94 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.386, allocations: 299.3 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3864, allocations: 0.7051 MB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3864, allocations: 19.42 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3864, allocations: 0 / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.003411/0.3898, allocations: 1.43 MB / 0.5705 GB, free: 11 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.478647981071845]