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.001761/0.001761, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001399/0.001399, allocations: 168.4 kB / 24.91 MB, free: 8.262 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.9543/0.9543, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.243/0.243, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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.472e-06/1.472e-06, allocations: 0 / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.148e-05, allocations: 2.312 kB / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002233/0.002255, allocations: 1.72 MB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.003015, allocations: 0.5768 MB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.00308, allocations: 0 / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.307e-05/0.003163, allocations: 19.86 kB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.003209, allocations: 19.73 kB / 327.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.003428, allocations: 59.81 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.003547, allocations: 124 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.003638, allocations: 25.89 kB / 327.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.003778, allocations: 79.8 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.003868, allocations: 39.89 kB / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.003886, allocations: 12 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.003929, allocations: 15.98 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.003961, allocations: 27.91 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.004006, allocations: 35.84 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.004136, allocations: 95.64 kB / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004139, allocations: 0 / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00414, allocations: 0 / 328.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.004144, allocations: 0 / 328.1 MB, free: 4.875 MB / 298.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.0003829/0.004527, allocations: 325.8 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.004554, allocations: 15.97 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.004672, allocations: 28.91 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004804, allocations: 137.2 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.004812, allocations: 8.375 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.004832, allocations: 12.38 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.004935, allocations: 83.69 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.004943, allocations: 3.938 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.004959, allocations: 4 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.004964, allocations: 4 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.004996, allocations: 18.94 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.005275, allocations: 242.8 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.503e-05/0.00533, allocations: 30.56 kB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.005349, allocations: 16.86 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.005361, allocations: 3.984 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.454e-05/0.005456, allocations: 83.28 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.005457, allocations: 4 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001137/0.005571, allocations: 69.59 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.005605, allocations: 59.41 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.00567, allocations: 138.6 kB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.005682, allocations: 29.7 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.005717, allocations: 108.1 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.005739, allocations: 31.77 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.005771, allocations: 29.69 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.005841, allocations: 326.8 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.005855, allocations: 8 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.005896, allocations: 75.7 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.385e-05/0.005969, allocations: 91.55 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.005973, allocations: 4 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.768e-05/0.00607, allocations: 101.4 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.00608, allocations: 4 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006085, allocations: 4 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.006094, allocations: 0 / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.006167, allocations: 23.98 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.006173, allocations: 15.86 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.00621, allocations: 15.89 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.006217, allocations: 4 kB / 330.2 MB, free: 2.551 MB / 298.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 6.258e-05/0.006279, allocations: 124.8 kB / 330.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.006292, allocations: 11.98 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.00632, allocations: 16.78 kB / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006321, allocations: 0 / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.006322, allocations: 0 / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006325, allocations: 0 / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.006406, allocations: 89.8 kB / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006407, allocations: 0 / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.00645, allocations: 15.92 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.006451, allocations: 4 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.006461, allocations: 8 kB / 330.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006462, allocations: 4 kB / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.006463, allocations: 0 / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.006578, allocations: 105 kB / 330.5 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.00659, allocations: 15.89 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.006603, allocations: 4 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.006628, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.006652, allocations: 11.98 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006656, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.402e-05/0.00668, allocations: 31.83 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00668, allocations: 0 / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001151/0.006796, allocations: 31.86 kB / 330.6 MB, free: 2.035 MB / 298.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 7.124e-05/0.006867, allocations: 76.92 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.591e-05/0.006943, allocations: 56.7 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.006945, allocations: 0 / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.006978, allocations: 32.72 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.725e-05/0.007065, allocations: 12.53 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.007474, allocations: 246.2 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.24e-05/0.007506, allocations: 71.33 kB / 331.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.912e-05/0.007535, allocations: 8.484 kB / 331.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.007587, allocations: 63.36 kB / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.007588, allocations: 7.938 kB / 331.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of Templates: time 0.002448/0.01004, allocations: 1.097 MB / 332.3 MB, free: 344 kB / 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 -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: 3.01153059117496]