Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.001632/0.001632, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001902/0.001902, allocations: 212.4 kB / 23.73 MB, free: 4.164 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.551/1.551, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2673/0.2673, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 83.81 kB / 0.4967 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.518, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004035/0.522, allocations: 2.028 MB / 0.5632 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.5246, allocations: 1.27 MB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.5248, allocations: 7.938 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.464e-05/0.5248, allocations: 27.72 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.525, allocations: 35.66 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.5256, allocations: 195.3 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.5259, allocations: 184 kB / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.5262, allocations: 83.88 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.5264, allocations: 87.64 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.5265, allocations: 79.48 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.5266, allocations: 20 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.5269, allocations: 147.9 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.5269, allocations: 39.84 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.527, allocations: 79.53 kB / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.5275, allocations: 317 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5275, allocations: 4 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5275, allocations: 0 / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.5275, allocations: 0 / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007511/0.5282, allocations: 461.5 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5283, allocations: 12.03 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/0.5292, allocations: 80.73 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.5296, allocations: 162.1 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.5296, allocations: 24.95 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.5297, allocations: 28.38 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.5301, allocations: 206.4 kB / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5301, allocations: 0 / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.5301, allocations: 16 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.5301, allocations: 4 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.5304, allocations: 142.5 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.5313, allocations: 476.8 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.5318, allocations: 219.7 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.532, allocations: 61.3 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.532, allocations: 4.234 kB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.532, allocations: 38.73 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.532, allocations: 0 / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004982/0.5325, allocations: 215.9 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.5326, allocations: 63.34 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.5327, allocations: 105.8 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.5327, allocations: 29.7 kB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5328, allocations: 136.7 kB / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.714e-05/0.5329, allocations: 95.17 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.533, allocations: 37.7 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.5332, allocations: 322.8 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.5333, allocations: 43.92 kB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.5334, allocations: 52.89 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.5336, allocations: 113.3 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5336, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002787/0.5339, allocations: 165.6 kB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5339, allocations: 15.86 kB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5339, allocations: 0 / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5339, allocations: 0 / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.5343, allocations: 99.95 kB / 0.5689 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5343, allocations: 4 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.5344, allocations: 19.88 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.5344, allocations: 4.25 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001323/0.5345, allocations: 129.8 kB / 0.5691 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.5345, allocations: 15.84 kB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.5346, allocations: 21.62 kB / 0.5691 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5346, allocations: 4 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5346, allocations: 4 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5346, allocations: 3.984 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.5349, allocations: 189.2 kB / 0.5693 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.5349, allocations: 0 / 0.5693 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.5352, allocations: 99.88 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5352, allocations: 3.938 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5353, allocations: 7.938 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.5353, allocations: 4 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5353, allocations: 0 / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.5356, allocations: 275.6 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.5356, allocations: 19.84 kB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.5357, allocations: 11.88 kB / 0.5697 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.5357, allocations: 11.98 kB / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.5358, allocations: 11.97 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5358, allocations: 8 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.5359, allocations: 83.28 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5359, allocations: 0 / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000283/0.5362, allocations: 43.89 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.000127/0.5363, allocations: 99.25 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.5366, allocations: 123.9 kB / 0.5701 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5366, allocations: 3.938 kB / 0.5701 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5367, allocations: 75.83 kB / 0.5702 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.5369, allocations: 12 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.5378, allocations: 481.7 kB / 0.5706 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.5379, allocations: 120.6 kB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.538, allocations: 21.41 kB / 0.5708 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.5381, allocations: 15.44 kB / 0.5708 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5381, allocations: 0 / 0.5708 GB, free: 9.828 MB / 414.1 MB Notification: Performance of Templates: time 0.004003/0.5421, allocations: 0.945 MB / 0.5717 GB, free: 8.887 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.547073261812329]