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.0008062/0.0008062, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.0031/0.0031, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8593/0.8593, allocations: 177.1 MB / 205 MB, free: 5.75 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.2388/0.2388, allocations: 34.25 MB / 295.7 MB, free: 0.6836 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.262e-06/1.262e-06, allocations: 0 / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.173e-05, allocations: 3.828 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.1588/0.1589, allocations: 1.654 MB / 445.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000598/0.1595, allocations: 0.5609 MB / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1595, allocations: 0 / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.1596, allocations: 14.83 kB / 445.7 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.1596, allocations: 21.3 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1599, allocations: 69.56 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.16, allocations: 118 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1601, allocations: 26.59 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1602, allocations: 74.48 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.1603, allocations: 35.94 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1603, allocations: 8.031 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.543e-05/0.1603, allocations: 21.45 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.1604, allocations: 28.78 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1604, allocations: 36.88 kB / 446.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1606, allocations: 129 kB / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1606, allocations: 0 / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1606, allocations: 0 / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1606, allocations: 0 / 446.2 MB, free: 43.4 MB / 410.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.0004988/0.1611, allocations: 374.7 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1611, allocations: 8.812 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1612, allocations: 30.39 kB / 446.6 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1613, allocations: 156.4 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1613, allocations: 6.781 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1614, allocations: 8.562 kB / 446.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1615, allocations: 92.03 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1615, allocations: 9.469 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1615, allocations: 6.594 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1615, allocations: 2.656 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.1616, allocations: 48.02 kB / 446.9 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.1619, allocations: 313.5 kB / 447.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.162, allocations: 56.3 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.162, allocations: 25.45 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1621, allocations: 2.781 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.1622, allocations: 99.83 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.1622, allocations: 0 / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002139/0.1624, allocations: 128.2 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.1624, allocations: 57.97 kB / 447.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.1625, allocations: 148.3 kB / 447.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.1625, allocations: 31.52 kB / 447.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.1625, allocations: 112.5 kB / 447.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.1625, allocations: 26.47 kB / 447.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1626, allocations: 39.38 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.939e-05/0.1626, allocations: 320.7 kB / 448.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1626, allocations: 27.83 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.831e-05/0.1627, allocations: 89.16 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.763e-05/0.1628, allocations: 120.6 kB / 448.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1628, allocations: 0 / 448.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000123/0.1629, allocations: 147.3 kB / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1629, allocations: 7.031 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1629, allocations: 2.875 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1629, allocations: 9.391 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.163, allocations: 28.86 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.163, allocations: 10.25 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.163, allocations: 13.84 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.163, allocations: 5.469 kB / 448.7 MB, free: 41.57 MB / 410.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 4.958e-05/0.1631, allocations: 125.3 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.1631, allocations: 16.7 kB / 448.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.1631, allocations: 11.69 kB / 448.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1631, allocations: 0 / 448.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1631, allocations: 8.438 kB / 448.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1631, allocations: 0 / 448.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.642e-05/0.1632, allocations: 137.1 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.1632, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.1632, allocations: 18.73 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1632, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1632, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1632, allocations: 6.281 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1632, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1634, allocations: 169.7 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.1634, allocations: 10.58 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1634, allocations: 7.031 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.1634, allocations: 2.875 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.1635, allocations: 10.28 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1635, allocations: 10.12 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.1635, allocations: 113.2 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1635, allocations: 0 / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.1636, allocations: 27.91 kB / 449.4 MB, free: 41.07 MB / 410.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.071e-05/0.1637, allocations: 98.44 kB / 449.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1638, allocations: 77.17 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.1638, allocations: 0 / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.1639, allocations: 34.53 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.164, allocations: 9.719 kB / 449.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.1643, allocations: 275.6 kB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.1643, allocations: 95.91 kB / 450 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.1644, allocations: 18.06 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1644, allocations: 0 / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of Templates: time 0.001654/0.166, allocations: 1.482 MB / 451.5 MB, free: 40.55 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] 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: 4.4294998068362474]