Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009406/0.0009406, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009087/0.0009087, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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.9378/0.9378, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 32.8 MB / 294.6 MB, free: 1.16 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.582e-05, allocations: 9.203 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002044/0.00206, allocations: 1.702 MB / 378.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006476/0.002708, allocations: 0.5686 MB / 378.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.002759, allocations: 0 / 378.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.853e-05/0.002827, allocations: 15.8 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.002872, allocations: 23.8 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.003051, allocations: 67.75 kB / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.00316, allocations: 119.6 kB / 379 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.003244, allocations: 25.23 kB / 379 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.003364, allocations: 67.88 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.003445, allocations: 43.81 kB / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003463, allocations: 8 kB / 379.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.003502, allocations: 20 kB / 379.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.003528, allocations: 27.89 kB / 379.1 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.003563, allocations: 35.91 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.003679, allocations: 95.59 kB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.003681, allocations: 4 kB / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003681, allocations: 0 / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.003685, allocations: 3.984 kB / 379.3 MB, free: 1.539 MB / 346.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.0004126/0.004098, allocations: 467.4 kB / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.004128, allocations: 12.03 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.004238, allocations: 32.83 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.00436, allocations: 160.9 kB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.00437, allocations: 8.359 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.004388, allocations: 12.38 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.922e-05/0.004487, allocations: 78.91 kB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004495, allocations: 3.938 kB / 380 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004503, allocations: 4 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004508, allocations: 0 / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.00454, allocations: 15.98 kB / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.004829, allocations: 340 kB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.004886, allocations: 55.02 kB / 380.4 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.004906, allocations: 19.78 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.004922, allocations: 4 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.265e-05/0.005015, allocations: 88.98 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.005016, allocations: 3.938 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000145/0.005161, allocations: 89.56 kB / 380.7 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.005203, allocations: 51.41 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.0053, allocations: 205 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.005315, allocations: 33.7 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.005363, allocations: 158.9 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.005384, allocations: 27.69 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.005422, allocations: 39.34 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005528, allocations: 0.5001 MB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.005544, allocations: 11.98 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.005593, allocations: 88.83 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.005677, allocations: 125 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.00568, allocations: 4 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000112/0.005791, allocations: 113.4 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.005802, allocations: 7.984 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005807, allocations: 4 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005817, allocations: 4.312 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.005893, allocations: 31.91 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.005898, allocations: 4 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.445e-05/0.005933, allocations: 11.94 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.00594, allocations: 4 kB / 382.1 MB, free: 14.49 MB / 362.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 7.072e-05/0.00601, allocations: 172.5 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.006024, allocations: 11.91 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.006051, allocations: 16.77 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.006052, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.006053, allocations: 4 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.006057, allocations: 3.938 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.668e-05/0.006144, allocations: 125.2 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006145, allocations: 0 / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.006187, allocations: 16 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006189, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.006197, allocations: 3.984 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006198, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006198, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.006338, allocations: 140.2 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.00635, allocations: 11.91 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.006363, allocations: 8.031 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.00639, allocations: 4 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.006412, allocations: 11.92 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.006418, allocations: 3.984 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.006469, allocations: 154.5 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006469, allocations: 0 / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.006606, allocations: 23.94 kB / 382.8 MB, free: 13.73 MB / 362.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 6.089e-05/0.006667, allocations: 95.23 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.006753, allocations: 63.72 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.11e-07/0.006753, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.143e-05/0.006785, allocations: 23.67 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.006908, allocations: 16.66 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.007308, allocations: 246.5 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.00734, allocations: 67.34 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.964e-05/0.00737, allocations: 12.73 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.007428, allocations: 86.2 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007429, allocations: 0 / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.00233/0.009759, allocations: 1.127 MB / 384.5 MB, free: 11.96 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.639354409649968]