Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00191/0.00191, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.002303/0.002303, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2294/0.2294, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.859e-05/4.019e-05, allocations: 2.312 kB / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003796/0.003836, allocations: 1.636 MB / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.004813, allocations: 0.558 MB / 349.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.00491, allocations: 0 / 349.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.005034, allocations: 15.8 kB / 349.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.005089, allocations: 15.86 kB / 349.1 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.005393, allocations: 59.75 kB / 349.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.005564, allocations: 107.6 kB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.005727, allocations: 27.92 kB / 349.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.005876, allocations: 63.88 kB / 349.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.005998, allocations: 39.88 kB / 349.4 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.006026, allocations: 8 kB / 349.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.006045, allocations: 8 kB / 349.4 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.006097, allocations: 19.92 kB / 349.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.006177, allocations: 31.91 kB / 349.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.006369, allocations: 107.6 kB / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.006371, allocations: 0 / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006373, allocations: 0 / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.006379, allocations: 4 kB / 349.6 MB, free: 7.125 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007559/0.007135, allocations: 363.5 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.007173, allocations: 8.031 kB / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.007246, allocations: 16.89 kB / 350 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.007441, allocations: 149.5 kB / 350.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.007456, allocations: 8.359 kB / 350.1 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.007489, allocations: 8.375 kB / 350.1 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.007733, allocations: 86.16 kB / 350.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.007749, allocations: 16.17 kB / 350.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.007766, allocations: 4.375 kB / 350.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.007773, allocations: 3.938 kB / 350.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.007901, allocations: 43.97 kB / 350.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.008391, allocations: 296.3 kB / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.00854, allocations: 50.56 kB / 350.6 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.008608, allocations: 24.98 kB / 350.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.008632, allocations: 4 kB / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.008807, allocations: 103.3 kB / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.008808, allocations: 0 / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000346/0.009154, allocations: 137.5 kB / 350.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.009193, allocations: 51.41 kB / 350.9 MB, free: 5.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.009286, allocations: 144 kB / 351.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.0093, allocations: 25.7 kB / 351.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.009345, allocations: 112.3 kB / 351.2 MB, free: 5.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.009369, allocations: 23.86 kB / 351.2 MB, free: 5.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.009415, allocations: 29.7 kB / 351.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.009493, allocations: 326.8 kB / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.009563, allocations: 27.92 kB / 351.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.00964, allocations: 84.69 kB / 351.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.009783, allocations: 123.6 kB / 351.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009785, allocations: 4 kB / 351.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002215/0.01001, allocations: 149.3 kB / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01002, allocations: 8 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01003, allocations: 0 / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.01005, allocations: 8.219 kB / 352 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01017, allocations: 23.98 kB / 352 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01018, allocations: 3.938 kB / 352 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.01025, allocations: 8 kB / 352 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01026, allocations: 8 kB / 352 MB, free: 4.461 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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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 7.657e-05/0.01034, allocations: 133.7 kB / 352.2 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01038, allocations: 11.91 kB / 352.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.01041, allocations: 12.78 kB / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01042, allocations: 0 / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.01042, allocations: 4 kB / 352.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01042, allocations: 4 kB / 352.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.749e-05/0.01052, allocations: 141.2 kB / 352.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01052, allocations: 0 / 352.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.01062, allocations: 11.94 kB / 352.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01062, allocations: 0 / 352.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01064, allocations: 7.984 kB / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01064, allocations: 0 / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01064, allocations: 0 / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.01093, allocations: 173.3 kB / 352.5 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.01094, allocations: 15.98 kB / 352.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01097, allocations: 8 kB / 352.5 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.01103, allocations: 7.984 kB / 352.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.01108, allocations: 0 / 352.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01109, allocations: 11.98 kB / 352.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.523e-05/0.01114, allocations: 105.8 kB / 352.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01114, allocations: 0 / 352.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.01138, allocations: 19.95 kB / 352.7 MB, free: 3.75 MB / 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,rootMeanSquare.mean.y) * 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.325e-05/0.01147, allocations: 99.23 kB / 352.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.01168, allocations: 84.06 kB / 352.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01168, allocations: 0 / 352.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.01175, allocations: 31.92 kB / 352.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01198, allocations: 15.92 kB / 352.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.01249, allocations: 227.4 kB / 353.1 MB, free: 3.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.01255, allocations: 100.7 kB / 353.2 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.01259, allocations: 8.484 kB / 353.2 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.01263, allocations: 16.5 kB / 353.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01263, allocations: 3.938 kB / 353.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of Templates: time 0.003643/0.01628, allocations: 0.9468 MB / 354.2 MB, free: 2.184 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.9670404030475765]