Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001669/0.001669, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002153/0.002153, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 75.88 kB / 0.4966 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5353, allocations: 66.1 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003723/0.539, allocations: 1.652 MB / 0.5628 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.5403, allocations: 0.5543 MB / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.5404, allocations: 4 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.5405, allocations: 19.73 kB / 0.5633 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.5406, allocations: 11.88 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.541, allocations: 63.81 kB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.5412, allocations: 123.6 kB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.5414, allocations: 25.3 kB / 0.5636 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.5416, allocations: 55.78 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.5417, allocations: 47.77 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.5418, allocations: 8 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.5418, allocations: 20 kB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.5419, allocations: 27.91 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.542, allocations: 43.78 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.5422, allocations: 121.9 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5422, allocations: 0 / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5422, allocations: 0 / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.5422, allocations: 7.938 kB / 0.5639 GB, free: 1.18 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.0009078/0.5432, allocations: 375.4 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.5432, allocations: 8.031 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.5435, allocations: 24.88 kB / 0.5643 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.5437, allocations: 150.9 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.5438, allocations: 8.375 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.5438, allocations: 16.11 kB / 0.5644 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.5441, allocations: 97.64 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5441, allocations: 0 / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.5441, allocations: 7.922 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.5441, allocations: 7.938 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.5443, allocations: 43.97 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.5449, allocations: 316.2 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.545, allocations: 50.59 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.5451, allocations: 28.95 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.5451, allocations: 4 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.5454, allocations: 107.2 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.5454, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003843/0.5458, allocations: 125.5 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.5458, allocations: 63.34 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.546, allocations: 141.8 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.546, allocations: 37.69 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.5461, allocations: 108.2 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.5461, allocations: 27.8 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.5462, allocations: 29.7 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5464, allocations: 322.8 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.5464, allocations: 27.98 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.5465, allocations: 79.66 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5468, allocations: 127.6 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5468, allocations: 0 / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002415/0.547, allocations: 137.4 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.547, allocations: 10.41 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.547, allocations: 7.938 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.5471, allocations: 11.92 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.5472, allocations: 16 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.5472, allocations: 7.984 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.5473, allocations: 8.328 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.5473, allocations: 12 kB / 0.5663 GB, free: 14.45 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.000137/0.5474, allocations: 129.9 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.5474, allocations: 7.953 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.5475, allocations: 24.58 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5475, allocations: 4 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5475, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5475, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.5477, allocations: 145.2 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5477, allocations: 0 / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.5478, allocations: 8 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5478, allocations: 0 / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.5478, allocations: 11.98 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.5478, allocations: 3.938 kB / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5478, allocations: 3.938 kB / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.5482, allocations: 176.9 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.5482, allocations: 7.984 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.5482, allocations: 4 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.5483, allocations: 3.938 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.5483, allocations: 11.98 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5483, allocations: 7.984 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.5484, allocations: 106.6 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5484, allocations: 0 / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.5486, allocations: 20 kB / 0.567 GB, free: 13.73 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.0001321/0.5488, allocations: 103.3 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.549, allocations: 71.84 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.549, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.5491, allocations: 36.02 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.5494, allocations: 26.92 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.55, allocations: 270 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.5501, allocations: 97.67 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.5502, allocations: 12.48 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.5502, allocations: 11.44 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5502, allocations: 0 / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of Templates: time 0.004619/0.5548, allocations: 1.1 MB / 0.5686 GB, free: 11.98 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.447869149968028]