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.001526/0.001526, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001644/0.001644, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2493/0.2493, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 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 0.002066/0.002066, allocations: 67.91 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4286, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003122/0.4318, allocations: 1.661 MB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.4331, allocations: 0.5543 MB / 0.5632 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.4332, allocations: 4 kB / 0.5632 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.4334, allocations: 11.86 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.4335, allocations: 15.8 kB / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.4339, allocations: 67.81 kB / 0.5633 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.4342, allocations: 115.6 kB / 0.5634 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.4344, allocations: 29.3 kB / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.4346, allocations: 55.83 kB / 0.5635 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.4348, allocations: 55.7 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.4348, allocations: 8 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-05/0.4349, allocations: 20 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.435, allocations: 23.92 kB / 0.5636 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.4351, allocations: 47.72 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.4353, allocations: 121.9 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4354, allocations: 0 / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4354, allocations: 0 / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4354, allocations: 4 kB / 0.5638 GB, free: 1.379 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.0009983/0.4364, allocations: 375.4 kB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4364, allocations: 8.031 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.4367, allocations: 24.88 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.437, allocations: 165.6 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.437, allocations: 8.312 kB / 0.5643 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.437, allocations: 12.12 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.4373, allocations: 100.6 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4373, allocations: 0 / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4374, allocations: 0 / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4374, allocations: 4 kB / 0.5645 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.4375, allocations: 47.97 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.4381, allocations: 308.2 kB / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.4383, allocations: 62.52 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.4384, allocations: 32.94 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.4384, allocations: 0 / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.4386, allocations: 95.34 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.4386, allocations: 0 / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004172/0.439, allocations: 129.5 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.4391, allocations: 59.28 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4393, allocations: 149.8 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4393, allocations: 29.7 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.4394, allocations: 112.2 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.4394, allocations: 27.8 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.4395, allocations: 25.72 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4396, allocations: 322.8 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.4397, allocations: 27.98 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4398, allocations: 87.64 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.4401, allocations: 123.6 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4401, allocations: 0 / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003063/0.4404, allocations: 141.4 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4404, allocations: 8.219 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4404, allocations: 8.312 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4404, allocations: 4 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.4406, allocations: 27.86 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4406, allocations: 7.984 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.4407, allocations: 15.89 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4407, allocations: 8 kB / 0.5662 GB, free: 14.64 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.0001394/0.4408, allocations: 129.8 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.4409, allocations: 7.953 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.4409, allocations: 16.66 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4409, allocations: 4 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4409, allocations: 4 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4409, allocations: 3.984 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4411, allocations: 141.2 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4411, allocations: 0 / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4412, allocations: 15.98 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4412, allocations: 0 / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.4412, allocations: 4 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4412, allocations: 3.938 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4412, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.4416, allocations: 172.9 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.4417, allocations: 7.984 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4417, allocations: 7.984 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.4418, allocations: 7.938 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.4418, allocations: 7.984 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4418, allocations: 4 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.4419, allocations: 117.1 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4419, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.4422, allocations: 16 kB / 0.5669 GB, free: 13.93 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.0001384/0.4423, allocations: 107.2 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4426, allocations: 72.02 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4426, allocations: 8 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.4427, allocations: 28.02 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.4429, allocations: 18.89 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.4436, allocations: 274 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.507e-05/0.4436, allocations: 93.67 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.4437, allocations: 12.48 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.4437, allocations: 19.38 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4437, allocations: 0 / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Templates: time 0.00449/0.4482, allocations: 1.119 MB / 0.5686 GB, free: 12.15 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/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: 5.386019806843251]