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.001731/0.001731, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001942/0.001942, allocations: 165.3 kB / 24.28 MB, free: 148 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.671/1.671, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.4219/0.4219, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.833e-06/1.833e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.743e-05, allocations: 6.25 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004659/0.004697, allocations: 1.682 MB / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.006279, allocations: 0.5726 MB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.52e-05/0.006374, allocations: 0 / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.006485, allocations: 11.86 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.006572, allocations: 15.81 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.006951, allocations: 71.73 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.007185, allocations: 115.6 kB / 379.7 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.007337, allocations: 29.14 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.007581, allocations: 83.69 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.007708, allocations: 35.88 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.007749, allocations: 12 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.007818, allocations: 16 kB / 379.9 MB, free: 304 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.00787, allocations: 23.92 kB / 379.9 MB, free: 280 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.00795, allocations: 35.91 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.008247, allocations: 127.6 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.00825, allocations: 0 / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008251, allocations: 4 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.008255, allocations: 3.938 kB / 380.1 MB, free: 108 kB / 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.001071/0.009326, allocations: 487.3 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.009357, allocations: 8.031 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.009632, allocations: 32.83 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.009922, allocations: 161 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.009938, allocations: 8.375 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.009973, allocations: 12.31 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.01024, allocations: 93.34 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01025, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.01027, allocations: 11.92 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.01027, allocations: 0 / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.01045, allocations: 39.98 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.01127, allocations: 375.5 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.01148, allocations: 63.09 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01159, allocations: 35.77 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.01162, allocations: 0 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.01192, allocations: 108.9 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.01192, allocations: 0 / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005094/0.01243, allocations: 125.5 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.01249, allocations: 55.41 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.01279, allocations: 224.8 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.01282, allocations: 29.7 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.01297, allocations: 162.9 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.01303, allocations: 31.78 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01313, allocations: 39.38 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003601/0.01349, allocations: 0.5001 MB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01361, allocations: 27.92 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.01384, allocations: 117.1 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.01418, allocations: 149.1 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01418, allocations: 3.938 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000415/0.01459, allocations: 141.4 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.01461, allocations: 8 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01462, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01464, allocations: 4.219 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01483, allocations: 31.92 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.01484, allocations: 7.938 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.01497, allocations: 8 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01499, allocations: 4 kB / 383.2 MB, free: 12.77 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.0002127/0.0152, allocations: 176.5 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.01525, allocations: 15.91 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.0153, allocations: 12.78 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.0153, allocations: 3.938 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.01531, allocations: 3.938 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01531, allocations: 4 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.01559, allocations: 160.6 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01559, allocations: 3.938 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.01575, allocations: 15.98 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.01576, allocations: 4 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01578, allocations: 4 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01578, allocations: 0 / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01578, allocations: 0 / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.01637, allocations: 176.2 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.01641, allocations: 19.89 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.01644, allocations: 4.031 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.01653, allocations: 4 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.01659, allocations: 11.92 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.01661, allocations: 4 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.01681, allocations: 162.3 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01681, allocations: 0 / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000414/0.01723, allocations: 16 kB / 383.9 MB, free: 11.92 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.000168/0.01739, allocations: 95.25 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.0178, allocations: 95.7 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01781, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.01798, allocations: 44.08 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.01831, allocations: 12.08 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008478/0.01916, allocations: 262.7 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.0193, allocations: 97.69 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.557e-05/0.01939, allocations: 16.34 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.01946, allocations: 16.5 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01946, allocations: 0 / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.007378/0.02684, allocations: 1.044 MB / 385.6 MB, free: 10.2 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.158497081953101]