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.002034/0.002034, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002295/0.002295, allocations: 164 kB / 24.49 MB, free: 3.453 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.548/1.548, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.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.2389/0.2389, allocations: 34.27 MB / 295.5 MB, free: 14.61 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.002131/0.002131, allocations: 63.89 kB / 443.1 MB, free: 6.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 66.02 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003305/0.3533, allocations: 1.666 MB / 0.4988 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3545, allocations: 0.5612 MB / 0.4994 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.3546, allocations: 3.25 kB / 0.4994 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3547, allocations: 11.3 kB / 0.4994 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.3548, allocations: 19.27 kB / 0.4994 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.3551, allocations: 66.44 kB / 0.4995 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3553, allocations: 113.5 kB / 0.4996 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3555, allocations: 26.28 kB / 0.4996 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3557, allocations: 55.64 kB / 0.4997 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3558, allocations: 50.52 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.3558, allocations: 9.625 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.3559, allocations: 19.17 kB / 0.4997 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.3559, allocations: 26.53 kB / 0.4998 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.356, allocations: 40.2 kB / 0.4998 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3562, allocations: 129.1 kB / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3562, allocations: 0 / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3562, allocations: 0 / 0.4999 GB, free: 28.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3562, allocations: 0 / 0.4999 GB, free: 28.06 MB / 446.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.0008213/0.3571, allocations: 378.5 kB / 0.5003 GB, free: 27.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3571, allocations: 9.062 kB / 0.5003 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.3574, allocations: 27.86 kB / 0.5003 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.3576, allocations: 157.7 kB / 0.5005 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3576, allocations: 7.594 kB / 0.5005 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.3577, allocations: 10.75 kB / 0.5005 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3579, allocations: 92.33 kB / 0.5006 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3579, allocations: 3.938 kB / 0.5006 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3579, allocations: 4 kB / 0.5006 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3579, allocations: 7.344 kB / 0.5006 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.3581, allocations: 44.78 kB / 0.5006 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.3587, allocations: 310.6 kB / 0.5009 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3589, allocations: 60.67 kB / 0.501 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.359, allocations: 26.27 kB / 0.501 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.359, allocations: 6.594 kB / 0.501 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.3592, allocations: 98.02 kB / 0.5011 GB, free: 27.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3592, allocations: 0 / 0.5011 GB, free: 27.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004324/0.3597, allocations: 126.6 kB / 0.5012 GB, free: 27.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3597, allocations: 58.72 kB / 0.5013 GB, free: 26.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3598, allocations: 149 kB / 0.5014 GB, free: 26.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3598, allocations: 33.08 kB / 0.5015 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.3599, allocations: 106 kB / 0.5016 GB, free: 26.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.3599, allocations: 26.98 kB / 0.5016 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.36, allocations: 42.7 kB / 0.5016 GB, free: 26.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.36, allocations: 321.5 kB / 0.5019 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.3601, allocations: 26.61 kB / 0.502 GB, free: 26.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3602, allocations: 84.16 kB / 0.502 GB, free: 26.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.3605, allocations: 127.7 kB / 0.5022 GB, free: 26.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3605, allocations: 0 / 0.5022 GB, free: 26.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003217/0.3608, allocations: 134.1 kB / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3608, allocations: 6.469 kB / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3608, allocations: 7.094 kB / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3608, allocations: 3.25 kB / 0.5023 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.361, allocations: 31.73 kB / 0.5023 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.361, allocations: 3.219 kB / 0.5023 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3611, allocations: 13.56 kB / 0.5024 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3611, allocations: 6.188 kB / 0.5024 GB, free: 26.07 MB / 446.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 9.711e-05/0.3612, allocations: 128.2 kB / 0.5025 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.3613, allocations: 10.42 kB / 0.5025 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.3613, allocations: 23.16 kB / 0.5025 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3613, allocations: 0 / 0.5025 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3613, allocations: 0 / 0.5025 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3613, allocations: 3.938 kB / 0.5025 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.3615, allocations: 144.8 kB / 0.5027 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3615, allocations: 0 / 0.5027 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3616, allocations: 13.11 kB / 0.5027 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3616, allocations: 0 / 0.5027 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3616, allocations: 0 / 0.5027 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3616, allocations: 7.938 kB / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3616, allocations: 3.5 kB / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.362, allocations: 173.2 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.3621, allocations: 7.141 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.3621, allocations: 15.27 kB / 0.5029 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.672e-05/0.3622, allocations: 10.44 kB / 0.5029 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.3622, allocations: 6.719 kB / 0.5029 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3623, allocations: 4 kB / 0.5029 GB, free: 25.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.573e-05/0.3623, allocations: 111.6 kB / 0.503 GB, free: 25.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3623, allocations: 3.125 kB / 0.503 GB, free: 25.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004257/0.3628, allocations: 19.78 kB / 0.503 GB, free: 25.55 MB / 446.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 8.328e-05/0.3628, allocations: 99.17 kB / 0.5031 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3631, allocations: 75.5 kB / 0.5032 GB, free: 25.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3631, allocations: 3.062 kB / 0.5032 GB, free: 25.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3632, allocations: 30.02 kB / 0.5032 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3635, allocations: 15.2 kB / 0.5032 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.3641, allocations: 277.8 kB / 0.5035 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.3642, allocations: 97.14 kB / 0.5036 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.3643, allocations: 10.95 kB / 0.5036 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.3643, allocations: 13.94 kB / 0.5036 GB, free: 25.13 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3643, allocations: 1.406 kB / 0.5036 GB, free: 25.13 MB / 446.1 MB Notification: Performance of Templates: time 0.005052/0.3694, allocations: 1.021 MB / 0.5046 GB, free: 24.99 MB / 446.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 -s ida -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: 5.061340913991444]