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.00153/0.00153, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001702/0.001702, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.1 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.2137/0.2137, allocations: 46.94 MB / 361.6 MB, free: 4.238 MB / 286.1 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 0.00195/0.00195, allocations: 71.91 kB / 0.4974 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 66.02 MB / 0.5619 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003178/0.3062, allocations: 1.711 MB / 0.5635 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3072, allocations: 0.5893 MB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.3073, allocations: 11.94 kB / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.74e-05/0.3074, allocations: 11.86 kB / 0.5641 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.3075, allocations: 19.78 kB / 0.5641 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.3077, allocations: 67.81 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3079, allocations: 111.7 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.308, allocations: 29.22 kB / 0.5643 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3082, allocations: 55.78 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.3083, allocations: 55.75 kB / 0.5645 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3083, allocations: 12 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.3084, allocations: 20 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.3084, allocations: 23.92 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.3085, allocations: 51.73 kB / 0.5646 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3087, allocations: 129.8 kB / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3087, allocations: 0 / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3087, allocations: 0 / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3087, allocations: 0 / 0.5647 GB, free: 1.484 MB / 398.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.0006961/0.3094, allocations: 375.5 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3095, allocations: 12.03 kB / 0.5651 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.3097, allocations: 24.88 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3099, allocations: 152.2 kB / 0.5652 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3099, allocations: 8.375 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3099, allocations: 16.12 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.3102, allocations: 92.67 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3102, allocations: 0 / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.3102, allocations: 15.98 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3102, allocations: 3.938 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3103, allocations: 47.97 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.3109, allocations: 359.6 kB / 0.5657 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.311, allocations: 54.56 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.3111, allocations: 28.98 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3111, allocations: 0 / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.3113, allocations: 99.28 kB / 0.5659 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3113, allocations: 0 / 0.5659 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003436/0.3117, allocations: 133.5 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3117, allocations: 59.41 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3118, allocations: 148 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3119, allocations: 29.7 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.3119, allocations: 116.1 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.312, allocations: 27.8 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.312, allocations: 29.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3122, allocations: 326.8 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.3122, allocations: 23.98 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3123, allocations: 83.59 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3126, allocations: 127.6 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3126, allocations: 0 / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000247/0.3128, allocations: 141.4 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3128, allocations: 10.59 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3128, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3129, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.313, allocations: 19.98 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.313, allocations: 7.938 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.313, allocations: 12.16 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3131, allocations: 16.38 kB / 0.5672 GB, free: 14.69 MB / 414.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.0001041/0.3132, allocations: 121.8 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.3132, allocations: 11.89 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.3132, allocations: 16.7 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3132, allocations: 12.02 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3132, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3132, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.3134, allocations: 176.6 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3134, allocations: 8 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.254e-05/0.3135, allocations: 15.92 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-06/0.3135, allocations: 3.938 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3135, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3135, allocations: 4 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3135, allocations: 0 / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3138, allocations: 168.9 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.3139, allocations: 11.95 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3139, allocations: 4.031 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.3139, allocations: 11.92 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.314, allocations: 7.984 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.314, allocations: 4 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.3141, allocations: 114.4 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3141, allocations: 0 / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.3143, allocations: 16 kB / 0.5679 GB, free: 13.93 MB / 414.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.92e-05/0.3144, allocations: 103.8 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3146, allocations: 75.83 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3146, allocations: 4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.271e-05/0.3147, allocations: 27.92 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.3149, allocations: 20.16 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.3154, allocations: 299.8 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3157, allocations: 0.7047 MB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.3158, allocations: 15.42 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3158, allocations: 0 / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of Templates: time 0.003013/0.3188, allocations: 1.439 MB / 0.5705 GB, free: 11.18 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/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: 7.081058498937637]