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.001921/0.001921, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002395/0.002395, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.345/0.345, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.873e-06/1.873e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.74e-05, allocations: 5.266 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003321/0.003358, allocations: 1.667 MB / 376.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.004779, allocations: 0.5531 MB / 377.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.004853, allocations: 4 kB / 377.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.004972, allocations: 19.8 kB / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.005037, allocations: 11.86 kB / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.005409, allocations: 75.67 kB / 377.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.005615, allocations: 115.6 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.005773, allocations: 29.06 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.005995, allocations: 79.8 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.006141, allocations: 31.89 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.006173, allocations: 8 kB / 377.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.006256, allocations: 24 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.006308, allocations: 31.83 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.006393, allocations: 35.91 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.006662, allocations: 127.6 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006665, allocations: 0 / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006666, allocations: 0 / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006672, allocations: 3.938 kB / 378.1 MB, free: 2.172 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.0009634/0.007635, allocations: 371.5 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.007684, allocations: 8.031 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.007962, allocations: 36.83 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.008254, allocations: 150.1 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.008277, allocations: 8.375 kB / 378.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.008323, allocations: 16.36 kB / 378.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.008593, allocations: 86.22 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.008615, allocations: 11.92 kB / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.008633, allocations: 0 / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.008643, allocations: 4 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.008804, allocations: 51.97 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.009438, allocations: 312.2 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.009602, allocations: 54.53 kB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.00968, allocations: 28.95 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.009703, allocations: 0 / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.009939, allocations: 99.3 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.00994, allocations: 4 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004302/0.01037, allocations: 133.5 kB / 379.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.01042, allocations: 55.41 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.01059, allocations: 152.8 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.01061, allocations: 25.7 kB / 379.6 MB, free: 456 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.0107, allocations: 108.2 kB / 379.7 MB, free: 344 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.01074, allocations: 27.75 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.0108, allocations: 33.7 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.01102, allocations: 326.8 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.0111, allocations: 31.92 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.01124, allocations: 91.22 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.01146, allocations: 119.6 kB / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01146, allocations: 0 / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003/0.01176, allocations: 149.4 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.01179, allocations: 7.984 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.01179, allocations: 4 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.01181, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01197, allocations: 31.92 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.01198, allocations: 7.938 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.01206, allocations: 4.219 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01208, allocations: 8 kB / 380.6 MB, free: 15.44 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 0.000173/0.01225, allocations: 133.7 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.01229, allocations: 23.89 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.01233, allocations: 12.78 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01233, allocations: 0 / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.01234, allocations: 3.938 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01234, allocations: 0 / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.01252, allocations: 141.3 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01252, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.01262, allocations: 12 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.01262, allocations: 3.984 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.01264, allocations: 8 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01264, allocations: 0 / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01264, allocations: 0 / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.01306, allocations: 172.9 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.01308, allocations: 11.94 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.0131, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.01317, allocations: 11.98 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.01323, allocations: 7.938 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.01325, allocations: 15.98 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.81e-05/0.01335, allocations: 107.3 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01335, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.01358, allocations: 27.92 kB / 381.2 MB, free: 14.7 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 0.000149/0.01373, allocations: 95.25 kB / 381.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01397, allocations: 71.84 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01397, allocations: 448 / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.01408, allocations: 39.97 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.0143, allocations: 8.281 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.01493, allocations: 253.5 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.01505, allocations: 97.06 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.433e-05/0.0151, allocations: 16.34 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.01515, allocations: 16.5 kB / 381.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01515, allocations: 0 / 381.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Templates: time 0.004306/0.01946, allocations: 1.055 MB / 382.9 MB, free: 13.02 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=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.800254398025572]