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.00176/0.00176, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002319/0.002319, allocations: 213.3 kB / 23.73 MB, free: 4.41 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.745/1.745, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2454/0.2454, allocations: 46.95 MB / 360.9 MB, free: 4.082 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.002275/0.002275, allocations: 83.81 kB / 0.4966 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4235, allocations: 66.03 MB / 0.5611 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003235/0.4267, allocations: 1.649 MB / 0.5627 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4279, allocations: 0.562 MB / 0.5632 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.428, allocations: 0 / 0.5632 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.4281, allocations: 15.86 kB / 0.5632 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.4282, allocations: 19.8 kB / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.4285, allocations: 63.81 kB / 0.5633 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.4287, allocations: 115.7 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.4289, allocations: 21.3 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.429, allocations: 63.77 kB / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.4291, allocations: 43.77 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.4292, allocations: 12 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.4292, allocations: 19.94 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.4293, allocations: 31.91 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.4293, allocations: 43.73 kB / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.4296, allocations: 121.9 kB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4296, allocations: 0 / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4296, allocations: 0 / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4296, allocations: 0 / 0.5638 GB, free: 1.438 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.0007836/0.4304, allocations: 371.4 kB / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4304, allocations: 12.03 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.4306, allocations: 24.88 kB / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.4308, allocations: 165.9 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4309, allocations: 8.312 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.4309, allocations: 16.12 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.4311, allocations: 92.31 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4311, allocations: 0 / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4311, allocations: 4 kB / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.4311, allocations: 0 / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.4313, allocations: 51.97 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.4319, allocations: 316.2 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.432, allocations: 54.55 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.4321, allocations: 28.92 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.4321, allocations: 0 / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.4323, allocations: 99.34 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.4323, allocations: 4 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003648/0.4327, allocations: 129.5 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4327, allocations: 59.34 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4329, allocations: 149.8 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4329, allocations: 25.7 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.433, allocations: 108.2 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.433, allocations: 27.8 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.4331, allocations: 29.72 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4332, allocations: 326.8 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.4333, allocations: 23.98 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.4334, allocations: 95.58 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.4336, allocations: 111.6 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4336, allocations: 4 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002619/0.4339, allocations: 149.3 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4339, allocations: 4 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4339, allocations: 7.938 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4339, allocations: 96 / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4341, allocations: 27.92 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4341, allocations: 4 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.4341, allocations: 20.16 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4342, allocations: 4 kB / 0.5662 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.0001215/0.4343, allocations: 125.8 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.4343, allocations: 11.95 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.4343, allocations: 12.66 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4343, allocations: 4 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4344, allocations: 4 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4344, allocations: 7.922 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.4346, allocations: 141.2 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4346, allocations: 4 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.4346, allocations: 15.98 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4346, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4347, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.4347, allocations: 11.92 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4347, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.435, allocations: 177.2 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.4351, allocations: 7.984 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4351, allocations: 7.984 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.4352, allocations: 7.938 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.4352, allocations: 12.05 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.4352, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.4353, allocations: 116.8 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4353, allocations: 0 / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.4355, allocations: 20 kB / 0.5669 GB, free: 13.97 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.0001056/0.4356, allocations: 91.25 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.4358, allocations: 79.83 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4358, allocations: 448 / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4359, allocations: 35.92 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.4362, allocations: 11.94 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.4367, allocations: 273.5 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/0.4368, allocations: 93.67 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.4368, allocations: 16.48 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.4369, allocations: 11.44 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4369, allocations: 0 / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004188/0.4411, allocations: 1.093 MB / 0.5685 GB, free: 12.25 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.64010669849813]