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.001511/0.001511, allocations: 81.17 kB / 20.68 MB, free: 1.039 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.00163/0.00163, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.363/1.363, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1933/0.1933, allocations: 32.8 MB / 293.5 MB, free: 28 kB / 270.1 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.442e-06/1.442e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.601e-05, allocations: 6.219 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002735/0.002761, allocations: 1.656 MB / 441.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003801, allocations: 0.557 MB / 442.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.003868, allocations: 4 kB / 442.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.003965, allocations: 11.86 kB / 442.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.004029, allocations: 15.75 kB / 442.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.004323, allocations: 79.67 kB / 442.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.004483, allocations: 115.6 kB / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.004595, allocations: 25.28 kB / 442.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.004774, allocations: 75.81 kB / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.004877, allocations: 35.88 kB / 442.6 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.004903, allocations: 8 kB / 442.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.004965, allocations: 23.94 kB / 442.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.005004, allocations: 23.91 kB / 442.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.005065, allocations: 31.92 kB / 442.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.005271, allocations: 131.6 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005273, allocations: 4 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005274, allocations: 3.938 kB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005278, allocations: 0 / 442.9 MB, free: 5.355 MB / 366.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.00066/0.005938, allocations: 371.5 kB / 443.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.005972, allocations: 8.031 kB / 443.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.006165, allocations: 28.83 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.006376, allocations: 146.2 kB / 443.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.006398, allocations: 12.38 kB / 443.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.00642, allocations: 4.375 kB / 443.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.006641, allocations: 105.5 kB / 443.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.006654, allocations: 3.938 kB / 443.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.006671, allocations: 4 kB / 443.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.00668, allocations: 11.92 kB / 443.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.006821, allocations: 47.97 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.007357, allocations: 312.2 kB / 443.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.007493, allocations: 58.56 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.007559, allocations: 24.98 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.007577, allocations: 0 / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.007777, allocations: 103.2 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.007779, allocations: 0 / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000341/0.00812, allocations: 133.5 kB / 444.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.008171, allocations: 59.39 kB / 444.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.008309, allocations: 145.8 kB / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.008334, allocations: 33.7 kB / 444.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.008409, allocations: 104 kB / 444.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.008442, allocations: 27.92 kB / 444.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.008493, allocations: 29.7 kB / 444.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.008639, allocations: 322.8 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.008715, allocations: 27.97 kB / 444.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.008835, allocations: 79.72 kB / 445 MB, free: 3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.009044, allocations: 127.6 kB / 445.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009046, allocations: 0 / 445.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002587/0.009304, allocations: 145.6 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.009318, allocations: 8 kB / 445.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.009324, allocations: 3.984 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.00934, allocations: 7.938 kB / 445.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.00945, allocations: 23.98 kB / 445.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.009457, allocations: 3.938 kB / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.009539, allocations: 19.92 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.009549, allocations: 4 kB / 445.4 MB, free: 2.629 MB / 366.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.000107/0.009656, allocations: 126.4 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.009677, allocations: 15.94 kB / 445.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.009716, allocations: 16.77 kB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.009717, allocations: 0 / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.009722, allocations: 4.031 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.00973, allocations: 3.984 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.009874, allocations: 141.3 kB / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.009875, allocations: 0 / 445.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.009966, allocations: 11.98 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.00997, allocations: 4 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.009981, allocations: 0 / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.009983, allocations: 0 / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.009983, allocations: 8.312 kB / 445.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.01033, allocations: 184.7 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.01034, allocations: 11.88 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.01037, allocations: 8.031 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.01043, allocations: 4 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.01046, allocations: 7.984 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.01048, allocations: 7.938 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.01056, allocations: 114.4 kB / 446 MB, free: 1.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01056, allocations: 4 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.01078, allocations: 20.06 kB / 446 MB, free: 1.887 MB / 366.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 9.422e-05/0.01087, allocations: 95.25 kB / 446.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.01109, allocations: 79.83 kB / 446.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01109, allocations: 0 / 446.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.01118, allocations: 27.92 kB / 446.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01136, allocations: 15.98 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01185, allocations: 242.1 kB / 446.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.271e-05/0.01193, allocations: 93.3 kB / 446.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.01197, allocations: 8.5 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.01202, allocations: 16.48 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01202, allocations: 4 kB / 446.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of Templates: time 0.003709/0.01573, allocations: 1.042 MB / 447.7 MB, free: 244 kB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.3720178715884686]