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.001578/0.001578, allocations: 121 kB / 19.13 MB, free: 3.902 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.001882/0.001882, allocations: 210.6 kB / 22.08 MB, free: 0.9531 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.542/1.542, allocations: 227.4 MB / 252.3 MB, free: 88 kB / 190.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.2531/0.2531, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.002229/0.002229, allocations: 81.27 kB / 490.8 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1292, allocations: 62.45 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003331/0.1326, allocations: 1.7 MB / 0.542 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1338, allocations: 0.5766 MB / 0.5425 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.1339, allocations: 7.938 kB / 0.5426 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.134, allocations: 11.86 kB / 0.5426 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.1341, allocations: 19.8 kB / 0.5426 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.1345, allocations: 71.8 kB / 0.5427 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1347, allocations: 111.7 kB / 0.5428 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1349, allocations: 37.11 kB / 0.5428 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.135, allocations: 59.72 kB / 0.5429 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1352, allocations: 51.75 kB / 0.5429 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1352, allocations: 12 kB / 0.5429 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.1353, allocations: 16 kB / 0.5429 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.1353, allocations: 23.92 kB / 0.5429 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.1354, allocations: 55.72 kB / 0.543 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1357, allocations: 123.4 kB / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1357, allocations: 4 kB / 0.5431 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1357, allocations: 0 / 0.5431 GB, free: 1.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1357, allocations: 0 / 0.5431 GB, free: 1.383 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.0008294/0.1365, allocations: 434.8 kB / 0.5435 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1366, allocations: 8.031 kB / 0.5435 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.1368, allocations: 24.88 kB / 0.5436 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1371, allocations: 211.4 kB / 0.5438 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1371, allocations: 8.375 kB / 0.5438 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1371, allocations: 12.11 kB / 0.5438 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1374, allocations: 107.2 kB / 0.5439 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1374, allocations: 0 / 0.5439 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1374, allocations: 4 kB / 0.5439 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1374, allocations: 0 / 0.5439 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1376, allocations: 47.97 kB / 0.5439 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.1382, allocations: 392.5 kB / 0.5443 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1384, allocations: 58.56 kB / 0.5444 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.1385, allocations: 28.98 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1386, allocations: 0 / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1388, allocations: 111.2 kB / 0.5445 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.1388, allocations: 0 / 0.5445 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003803/0.1392, allocations: 133.5 kB / 0.5446 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1392, allocations: 51.41 kB / 0.5447 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1394, allocations: 141.8 kB / 0.5448 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1394, allocations: 33.7 kB / 0.5449 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.1395, allocations: 104 kB / 0.545 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1396, allocations: 31.86 kB / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.1396, allocations: 37.7 kB / 0.545 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1398, allocations: 322.8 kB / 0.5453 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.1399, allocations: 27.98 kB / 0.5454 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.14, allocations: 79.66 kB / 0.5454 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1402, allocations: 127.6 kB / 0.5455 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1402, allocations: 0 / 0.5455 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002779/0.1405, allocations: 141.4 kB / 0.5457 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1405, allocations: 13.97 kB / 0.5457 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1406, allocations: 0 / 0.5457 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1406, allocations: 4 kB / 0.5457 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1407, allocations: 28.2 kB / 0.5457 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.1407, allocations: 11.92 kB / 0.5457 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.1408, allocations: 11.89 kB / 0.5458 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1408, allocations: 8 kB / 0.5458 GB, free: 14.41 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.0001172/0.141, allocations: 121.8 kB / 0.5459 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.141, allocations: 11.89 kB / 0.5459 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.141, allocations: 20.7 kB / 0.5459 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1411, allocations: 0 / 0.5459 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1411, allocations: 4 kB / 0.5459 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1411, allocations: 0 / 0.5459 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1413, allocations: 202 kB / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1413, allocations: 96 / 0.5461 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1414, allocations: 15.92 kB / 0.5461 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1414, allocations: 7.922 kB / 0.5461 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1414, allocations: 7.938 kB / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1415, allocations: 4 kB / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1415, allocations: 0 / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.1418, allocations: 176.9 kB / 0.5463 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.1419, allocations: 85 kB / 0.5464 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1419, allocations: 8.016 kB / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.142, allocations: 0 / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.1421, allocations: 11.98 kB / 0.5464 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1421, allocations: 4 kB / 0.5464 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.1422, allocations: 118.6 kB / 0.5465 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1422, allocations: 0 / 0.5465 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1424, allocations: 28 kB / 0.5465 GB, free: 13.5 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.0001224/0.1426, allocations: 95.25 kB / 0.5466 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1428, allocations: 75.83 kB / 0.5467 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1428, allocations: 0 / 0.5467 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1429, allocations: 39.92 kB / 0.5467 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1431, allocations: 18.19 kB / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.1437, allocations: 291.1 kB / 0.547 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1441, allocations: 0.7079 MB / 0.5477 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.1442, allocations: 15.42 kB / 0.5478 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1442, allocations: 0 / 0.5478 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Templates: time 0.003686/0.1479, allocations: 1.438 MB / 0.5492 GB, free: 10.77 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.707390976021998]