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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00174/0.00174, allocations: 211.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.89 MB / 359.9 MB, free: 4.965 MB / 286.1 MB [Timeout remaining time 89] 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.00231/0.00231, allocations: 75.88 kB / 0.495 GB, free: 8.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3448, allocations: 65.98 MB / 0.5594 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003259/0.348, allocations: 1.688 MB / 0.5611 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3492, allocations: 0.6048 MB / 0.5616 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.3493, allocations: 4 kB / 0.5616 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3494, allocations: 7.875 kB / 0.5617 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.3494, allocations: 19.8 kB / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.3498, allocations: 67.8 kB / 0.5617 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3499, allocations: 111.7 kB / 0.5618 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3501, allocations: 29.05 kB / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3503, allocations: 59.77 kB / 0.5619 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3504, allocations: 47.77 kB / 0.562 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3504, allocations: 12 kB / 0.562 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.3505, allocations: 20 kB / 0.562 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.3505, allocations: 27.91 kB / 0.562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.3506, allocations: 47.73 kB / 0.5621 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3508, allocations: 137.8 kB / 0.5622 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3508, allocations: 0 / 0.5622 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3508, allocations: 0 / 0.5622 GB, free: 2.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3508, allocations: 4 kB / 0.5622 GB, free: 2.266 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.0008003/0.3516, allocations: 426.9 kB / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3517, allocations: 8.031 kB / 0.5626 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.3519, allocations: 24.88 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.3522, allocations: 216.1 kB / 0.5629 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3522, allocations: 8.375 kB / 0.5629 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.3522, allocations: 12.12 kB / 0.5629 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.3524, allocations: 100.5 kB / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3525, allocations: 0 / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3525, allocations: 4 kB / 0.563 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3525, allocations: 4 kB / 0.563 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3526, allocations: 43.97 kB / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.3533, allocations: 396.5 kB / 0.5634 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3534, allocations: 58.58 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/0.3535, allocations: 28.95 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3535, allocations: 0 / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.3537, allocations: 103.3 kB / 0.5636 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3537, allocations: 0 / 0.5636 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000358/0.3541, allocations: 133.4 kB / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3541, allocations: 55.41 kB / 0.5638 GB, free: 0.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3543, allocations: 145.8 kB / 0.5639 GB, free: 356 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3543, allocations: 33.64 kB / 0.5639 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.3544, allocations: 108.1 kB / 0.564 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3544, allocations: 23.86 kB / 0.5641 GB, free: 180 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.3544, allocations: 37.7 kB / 0.5641 GB, free: 136 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3546, allocations: 322.8 kB / 0.5644 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.3547, allocations: 23.98 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3548, allocations: 91.64 kB / 0.5645 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.355, allocations: 123.6 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.355, allocations: 4 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002617/0.3553, allocations: 137.4 kB / 0.5648 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3553, allocations: 11.92 kB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3553, allocations: 4 kB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3553, allocations: 4.219 kB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.3554, allocations: 27.98 kB / 0.5648 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3554, allocations: 7.938 kB / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.3555, allocations: 11.89 kB / 0.5648 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3555, allocations: 4 kB / 0.5648 GB, free: 15.3 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.0001112/0.3556, allocations: 121.8 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3557, allocations: 15.88 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.3557, allocations: 12.72 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3557, allocations: 4 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.3557, allocations: 4 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3557, allocations: 0 / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3559, allocations: 209.5 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3559, allocations: 0 / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.356, allocations: 15.92 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.356, allocations: 7.938 kB / 0.5652 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.356, allocations: 4 kB / 0.5652 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.356, allocations: 4 kB / 0.5652 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.356, allocations: 0 / 0.5652 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.3564, allocations: 173.2 kB / 0.5654 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.3565, allocations: 97.02 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3565, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.3565, allocations: 4 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.3566, allocations: 15.92 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3566, allocations: 4 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.356e-05/0.3567, allocations: 110.7 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3567, allocations: 4 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000226/0.3569, allocations: 20 kB / 0.5656 GB, free: 14.4 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.0001162/0.357, allocations: 91.25 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.3572, allocations: 79.83 kB / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3573, allocations: 0 / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.3573, allocations: 36.36 kB / 0.5658 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3575, allocations: 22.28 kB / 0.5658 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.3581, allocations: 291.1 kB / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.3584, allocations: 0.7041 MB / 0.5668 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.3585, allocations: 15.44 kB / 0.5668 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3585, allocations: 0 / 0.5668 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.003469/0.3619, allocations: 1.437 MB / 0.5682 GB, free: 11.66 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.0.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