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.0008511/0.0008511, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002092, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008104/0.0008104, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001838, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9334/0.9334, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09175/1.025, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2564/0.2564, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02473/0.2811, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 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 1.543e-06/1.543e-06, allocations: 3.938 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.037e-05, allocations: 6.312 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002919/0.002939, allocations: 1.761 MB / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.003915, allocations: 0.5885 MB / 295 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.003987, allocations: 0 / 295 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.749e-05/0.004055, allocations: 11.81 kB / 295 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.004118, allocations: 23.78 kB / 295 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.004347, allocations: 63.75 kB / 295.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004524, allocations: 119.6 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.004656, allocations: 33.88 kB / 295.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.004882, allocations: 84.31 kB / 295.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.005035, allocations: 35.89 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.005066, allocations: 12 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.005181, allocations: 23.92 kB / 295.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.005232, allocations: 15.94 kB / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.005295, allocations: 27.94 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.005554, allocations: 87.61 kB / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.267e-05/0.005577, allocations: 0 / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005578, allocations: 0 / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.005601, allocations: 4 kB / 295.5 MB, free: 3.418 MB / 282.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.0009133/0.006514, allocations: 337.3 kB / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.006572, allocations: 8.031 kB / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.006865, allocations: 106 kB / 295.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.007123, allocations: 142.1 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.00714, allocations: 12.25 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.007173, allocations: 16.36 kB / 296.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.00734, allocations: 78.91 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.007356, allocations: 7.938 kB / 296.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.007368, allocations: 4 kB / 296.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007375, allocations: 0 / 296.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.007428, allocations: 15.98 kB / 296.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.007855, allocations: 234.8 kB / 296.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.007947, allocations: 34.56 kB / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.007976, allocations: 20.84 kB / 296.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.007999, allocations: 4 kB / 296.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.008155, allocations: 87.27 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.008157, allocations: 0 / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001731/0.00833, allocations: 69.61 kB / 296.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.008383, allocations: 55.41 kB / 296.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.008502, allocations: 142.6 kB / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.008522, allocations: 29.7 kB / 296.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.008581, allocations: 104.1 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.008621, allocations: 27.8 kB / 297 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.00867, allocations: 29.7 kB / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.008781, allocations: 334.7 kB / 297.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.008808, allocations: 11.98 kB / 297.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.008875, allocations: 69.89 kB / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.008985, allocations: 87.58 kB / 297.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.008988, allocations: 0 / 297.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001585/0.009147, allocations: 101.5 kB / 297.6 MB, free: 1.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.009166, allocations: 8 kB / 297.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.009174, allocations: 0 / 297.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.009187, allocations: 4 kB / 297.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.009326, allocations: 31.92 kB / 297.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.009334, allocations: 8 kB / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.009398, allocations: 19.81 kB / 297.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.009407, allocations: 8.219 kB / 297.7 MB, free: 0.9844 MB / 282.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 8.979e-05/0.009497, allocations: 124.7 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.009515, allocations: 7.984 kB / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.009551, allocations: 20.66 kB / 297.8 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009553, allocations: 0 / 297.8 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.009556, allocations: 4 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.00956, allocations: 0 / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.009666, allocations: 93.73 kB / 297.9 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.009668, allocations: 0 / 297.9 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.009744, allocations: 16.08 kB / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.009759, allocations: 15.94 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.009762, allocations: 0 / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.009774, allocations: 4 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.009776, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009778, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.009951, allocations: 112.9 kB / 298.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.009972, allocations: 4 kB / 298.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.01001, allocations: 4 kB / 298.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.01005, allocations: 7.984 kB / 298.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01006, allocations: 0 / 298.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.01009, allocations: 41.34 kB / 298.1 MB, free: 500 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01009, allocations: 0 / 298.1 MB, free: 500 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.0103, allocations: 23.94 kB / 298.2 MB, free: 476 kB / 282.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 9.894e-05/0.0104, allocations: 76.42 kB / 298.2 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.01051, allocations: 52.7 kB / 298.3 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.01052, allocations: 0 / 298.3 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.01057, allocations: 28.8 kB / 298.3 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.0107, allocations: 26.05 kB / 298.3 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.01181, allocations: 249.2 kB / 298.6 MB, free: 0 / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.338e-05/0.01188, allocations: 71.31 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.01192, allocations: 8.5 kB / 298.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.012, allocations: 71.23 kB / 298.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.012, allocations: 0 / 298.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of Templates: time 0.00387/0.01587, allocations: 1.139 MB / 299.9 MB, free: 14.72 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8018551161512733]