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.001423/0.001423, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00168/0.00168, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 8 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.2436/0.2436, allocations: 46.94 MB / 360.9 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 179] 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.002102/0.002102, allocations: 64.09 kB / 0.4966 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4145, allocations: 66.03 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003446/0.4179, allocations: 1.711 MB / 0.5628 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.4192, allocations: 0.597 MB / 0.5634 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.4193, allocations: 7.938 kB / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.4194, allocations: 7.875 kB / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.4195, allocations: 23.8 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.4198, allocations: 63.81 kB / 0.5635 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.42, allocations: 119.6 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.4202, allocations: 21.3 kB / 0.5636 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.4204, allocations: 63.77 kB / 0.5637 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.4205, allocations: 51.77 kB / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.4206, allocations: 8 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.4206, allocations: 16 kB / 0.5637 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.4207, allocations: 31.91 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.4208, allocations: 51.73 kB / 0.5638 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.421, allocations: 129.8 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.421, allocations: 0 / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.421, allocations: 0 / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.4211, allocations: 0 / 0.5639 GB, free: 1.496 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.0009468/0.422, allocations: 371.4 kB / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4221, allocations: 16.02 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.4223, allocations: 28.88 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.4226, allocations: 148.6 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4226, allocations: 4.375 kB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.4226, allocations: 16.12 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.4229, allocations: 93.58 kB / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.4229, allocations: 0 / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.4229, allocations: 4 kB / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4229, allocations: 0 / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.4231, allocations: 55.97 kB / 0.5646 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.4237, allocations: 363.5 kB / 0.565 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.4239, allocations: 54.56 kB / 0.565 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.004e-05/0.4239, allocations: 24.98 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.424, allocations: 4 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.4242, allocations: 99.28 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4242, allocations: 0 / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000439/0.4247, allocations: 137.4 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.4247, allocations: 63.34 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4249, allocations: 148 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4249, allocations: 25.7 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.425, allocations: 112.2 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.425, allocations: 23.8 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.4251, allocations: 33.7 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4253, allocations: 322.8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.4253, allocations: 23.98 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4255, allocations: 94.27 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4257, allocations: 123.6 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4257, allocations: 0 / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002728/0.426, allocations: 141.5 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.426, allocations: 7.938 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.426, allocations: 4 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.426, allocations: 4 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4261, allocations: 19.98 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.4262, allocations: 11.92 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.4262, allocations: 11.95 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4262, allocations: 8 kB / 0.5664 GB, free: 14.71 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.0001234/0.4264, allocations: 122 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.4264, allocations: 15.89 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.4264, allocations: 12.7 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4264, allocations: 8 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4264, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4265, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.4267, allocations: 180.6 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.4267, allocations: 4 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.93e-05/0.4268, allocations: 15.92 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4268, allocations: 7.938 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4268, allocations: 0 / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.4268, allocations: 4 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4268, allocations: 384 / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.4271, allocations: 172.9 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.4272, allocations: 11.97 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.4272, allocations: 15.92 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.4272, allocations: 4.062 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.4273, allocations: 7.984 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4273, allocations: 8 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.4274, allocations: 107.2 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4274, allocations: 0 / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.4276, allocations: 20 kB / 0.5671 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 0.0001107/0.4277, allocations: 95.78 kB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.428, allocations: 79.83 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.428, allocations: 4 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.4281, allocations: 27.92 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.4283, allocations: 22.44 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.4289, allocations: 257.6 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.4293, allocations: 0.709 MB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.4293, allocations: 16.34 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.4294, allocations: 11.44 kB / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4294, allocations: 0 / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004352/0.4337, allocations: 1.064 MB / 0.5693 GB, free: 11.61 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/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_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: 5.600534304976463]