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.001762/0.001762, allocations: 103.6 kB / 21.19 MB, free: 0.6406 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.001931/0.001931, allocations: 215.4 kB / 24.48 MB, free: 3.93 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.719/1.719, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.2332/0.2332, allocations: 46.94 MB / 361.5 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] 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.002571/0.002571, allocations: 79.86 kB / 0.4974 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3366, allocations: 66.08 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004122/0.3407, allocations: 1.663 MB / 0.5635 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3421, allocations: 0.5504 MB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3422, allocations: 7.938 kB / 0.5641 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3423, allocations: 7.875 kB / 0.5641 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.3424, allocations: 23.78 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.3428, allocations: 63.81 kB / 0.5642 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.343, allocations: 115.7 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3432, allocations: 21.3 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.3434, allocations: 59.72 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.3436, allocations: 47.77 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.3436, allocations: 12 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.3437, allocations: 23.98 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.3438, allocations: 23.92 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.3439, allocations: 43.78 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.3441, allocations: 125.9 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3441, allocations: 0 / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3441, allocations: 0 / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3442, allocations: 3.938 kB / 0.5646 GB, free: 1.156 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.00102/0.3452, allocations: 375.4 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3452, allocations: 12.03 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.3455, allocations: 28.88 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.3458, allocations: 146.9 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3458, allocations: 8.375 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.3459, allocations: 12.12 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.3462, allocations: 93.64 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3462, allocations: 3.938 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.3462, allocations: 3.984 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3462, allocations: 8 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3464, allocations: 47.91 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.3471, allocations: 320.2 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3473, allocations: 50.59 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.722e-05/0.3474, allocations: 28.95 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3475, allocations: 0 / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.3478, allocations: 103.3 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.3478, allocations: 0 / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004815/0.3482, allocations: 129.5 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.3483, allocations: 59.34 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3485, allocations: 141.8 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.3485, allocations: 33.7 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3486, allocations: 108.2 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.3487, allocations: 31.78 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.3488, allocations: 29.7 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.349, allocations: 330.8 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3491, allocations: 27.98 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.3492, allocations: 90.12 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.3495, allocations: 119.6 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3495, allocations: 0 / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003811/0.3499, allocations: 141.4 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.3499, allocations: 8 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3499, allocations: 3.938 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.35, allocations: 4 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3501, allocations: 20.2 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3501, allocations: 11.98 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3503, allocations: 11.95 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3503, allocations: 8 kB / 0.5671 GB, free: 14.43 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.0001569/0.3504, allocations: 126.2 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.3505, allocations: 7.953 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.3505, allocations: 20.64 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3505, allocations: 0 / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3505, allocations: 3.938 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3505, allocations: 0 / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3507, allocations: 145.2 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3507, allocations: 0 / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3509, allocations: 8 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3509, allocations: 4.094 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3509, allocations: 11.92 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.3509, allocations: 7.938 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3509, allocations: 3.984 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.3514, allocations: 173 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.3514, allocations: 3.953 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3515, allocations: 4 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.3515, allocations: 12 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3516, allocations: 7.984 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3516, allocations: 7.984 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3517, allocations: 106.8 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3517, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.3521, allocations: 23.94 kB / 0.5677 GB, free: 13.7 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.0001543/0.3523, allocations: 103.2 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.3526, allocations: 72.03 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3526, allocations: 0 / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.3527, allocations: 35.92 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3529, allocations: 22.08 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.3536, allocations: 295.3 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3537, allocations: 101.9 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.3538, allocations: 11.44 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3538, allocations: 4 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Templates: time 0.004498/0.3583, allocations: 1.463 MB / 0.5698 GB, free: 11.55 MB / 414.1 MB " [Timeout remaining time 660] 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/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_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: 8.098463363945484]