Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006793/0.006793, allocations: 105.9 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.5 MB / 258.9 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.227/0.227, allocations: 46.92 MB / 362.3 MB, free: 4.277 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 75.86 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3312, allocations: 66.08 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003135/0.3343, allocations: 1.707 MB / 0.5644 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3355, allocations: 0.6049 MB / 0.565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.3355, allocations: 0 / 0.565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.77e-05/0.3356, allocations: 11.86 kB / 0.565 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.3357, allocations: 23.8 kB / 0.565 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.336, allocations: 59.81 kB / 0.5651 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3362, allocations: 123.6 kB / 0.5652 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3363, allocations: 25.23 kB / 0.5652 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3365, allocations: 59.83 kB / 0.5653 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3366, allocations: 51.72 kB / 0.5653 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.3366, allocations: 8 kB / 0.5653 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.3367, allocations: 23.97 kB / 0.5653 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.3367, allocations: 23.92 kB / 0.5654 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.3368, allocations: 51.73 kB / 0.5654 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.337, allocations: 129.8 kB / 0.5655 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.337, allocations: 0 / 0.5655 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.337, allocations: 0 / 0.5655 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.337, allocations: 4 kB / 0.5655 GB, free: 1.352 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.0007956/0.3378, allocations: 371.5 kB / 0.5659 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3379, allocations: 8.031 kB / 0.5659 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.3381, allocations: 24.88 kB / 0.5659 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.3383, allocations: 154.8 kB / 0.5661 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3383, allocations: 8.375 kB / 0.5661 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.3384, allocations: 16.12 kB / 0.5661 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.3386, allocations: 97.16 kB / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3386, allocations: 0 / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3386, allocations: 0 / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3386, allocations: 0 / 0.5662 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3388, allocations: 51.91 kB / 0.5662 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.3394, allocations: 363.6 kB / 0.5666 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3395, allocations: 62.47 kB / 0.5667 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.3396, allocations: 24.98 kB / 0.5667 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3396, allocations: 0 / 0.5667 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.3398, allocations: 107.2 kB / 0.5668 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3398, allocations: 4 kB / 0.5668 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003743/0.3402, allocations: 125.5 kB / 0.5669 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3403, allocations: 55.41 kB / 0.567 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3404, allocations: 149.7 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3404, allocations: 33.7 kB / 0.5671 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.3405, allocations: 112.2 kB / 0.5672 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.3405, allocations: 31.78 kB / 0.5673 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.3406, allocations: 25.72 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3407, allocations: 322.8 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.3408, allocations: 27.98 kB / 0.5676 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3409, allocations: 87.64 kB / 0.5677 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3411, allocations: 123.6 kB / 0.5678 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3411, allocations: 0 / 0.5678 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002583/0.3414, allocations: 137.4 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3414, allocations: 11.94 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3414, allocations: 224 / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3414, allocations: 8 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3416, allocations: 27.92 kB / 0.568 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3416, allocations: 4 kB / 0.568 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.3416, allocations: 7.953 kB / 0.568 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3417, allocations: 15.98 kB / 0.568 GB, free: 14.56 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.0001113/0.3418, allocations: 125.8 kB / 0.5682 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.3418, allocations: 11.89 kB / 0.5682 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.3418, allocations: 12.72 kB / 0.5682 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3418, allocations: 4 kB / 0.5682 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3418, allocations: 0 / 0.5682 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3418, allocations: 3.984 kB / 0.5682 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.342, allocations: 180.6 kB / 0.5684 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.342, allocations: 0 / 0.5684 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3421, allocations: 8.375 kB / 0.5684 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3421, allocations: 3.938 kB / 0.5684 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3421, allocations: 7.984 kB / 0.5684 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3421, allocations: 0 / 0.5684 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3421, allocations: 3.938 kB / 0.5684 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.3425, allocations: 172.9 kB / 0.5685 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.3425, allocations: 12.02 kB / 0.5686 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3425, allocations: 4 kB / 0.5686 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.3426, allocations: 15.91 kB / 0.5686 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3426, allocations: 3.938 kB / 0.5686 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3427, allocations: 7.984 kB / 0.5686 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.3427, allocations: 118.3 kB / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3427, allocations: 0 / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.343, allocations: 16 kB / 0.5687 GB, free: 13.79 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 0.0001065/0.3431, allocations: 99.23 kB / 0.5688 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.3433, allocations: 75.84 kB / 0.5689 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3433, allocations: 0 / 0.5689 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.3434, allocations: 28.42 kB / 0.5689 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.3436, allocations: 22.27 kB / 0.5689 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.3442, allocations: 299.3 kB / 0.5692 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3445, allocations: 0.705 MB / 0.5699 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3445, allocations: 11.44 kB / 0.5699 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3445, allocations: 4 kB / 0.5699 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.003328/0.3479, allocations: 1.434 MB / 0.5713 GB, free: 11.06 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.546255438122898]