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.001813/0.001813, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001915/0.001915, allocations: 217 kB / 24.5 MB, free: 4.133 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.409/1.409, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2307/0.2307, allocations: 46.92 MB / 361.5 MB, free: 4.168 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.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.002266/0.002266, allocations: 80.09 kB / 0.4974 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3789, allocations: 66.08 MB / 0.562 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003617/0.3826, allocations: 2.151 MB / 0.5641 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3849, allocations: 1.402 MB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.385, allocations: 4 kB / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.061e-05/0.3851, allocations: 27.67 kB / 0.5655 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3852, allocations: 31.72 kB / 0.5655 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.3857, allocations: 203.2 kB / 0.5657 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.386, allocations: 180 kB / 0.5659 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.3862, allocations: 89.2 kB / 0.566 GB, free: 268 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3864, allocations: 91.58 kB / 0.566 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3865, allocations: 87.55 kB / 0.5661 GB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.3865, allocations: 20 kB / 0.5661 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.3868, allocations: 148 kB / 0.5663 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.3869, allocations: 51.69 kB / 0.5663 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.3869, allocations: 87.47 kB / 0.5664 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.3874, allocations: 321.3 kB / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3874, allocations: 0 / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3874, allocations: 0 / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3874, allocations: 4 kB / 0.5667 GB, free: 15.47 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.0006377/0.388, allocations: 461.5 kB / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3881, allocations: 12.03 kB / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008498/0.3889, allocations: 80.73 kB / 0.5673 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3892, allocations: 158.2 kB / 0.5674 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3892, allocations: 17.03 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.3893, allocations: 24.38 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.3897, allocations: 214.4 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3897, allocations: 0 / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.3897, allocations: 12 kB / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3897, allocations: 4 kB / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.39, allocations: 150.4 kB / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.3908, allocations: 0.547 MB / 0.5683 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.3914, allocations: 215.4 kB / 0.5685 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3915, allocations: 57.3 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3915, allocations: 12.17 kB / 0.5686 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3915, allocations: 42.73 kB / 0.5687 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.132e-06/0.3915, allocations: 0 / 0.5687 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004585/0.392, allocations: 215.8 kB / 0.5689 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.392, allocations: 55.41 kB / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.3921, allocations: 105.9 kB / 0.569 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3922, allocations: 29.7 kB / 0.569 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.3922, allocations: 140.7 kB / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.3923, allocations: 99.16 kB / 0.5693 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.3924, allocations: 37.7 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3926, allocations: 322.8 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3927, allocations: 43.97 kB / 0.5697 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.749e-05/0.3928, allocations: 48.91 kB / 0.5697 GB, free: 12.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.393, allocations: 113.3 kB / 0.5698 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.393, allocations: 4 kB / 0.5698 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002872/0.3932, allocations: 173.5 kB / 0.57 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3933, allocations: 6.344 kB / 0.57 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3933, allocations: 0 / 0.57 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3933, allocations: 4 kB / 0.57 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.3936, allocations: 99.88 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3936, allocations: 8 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.3937, allocations: 15.89 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3937, allocations: 4 kB / 0.5701 GB, free: 11.82 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.0001104/0.3938, allocations: 125.8 kB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.3939, allocations: 15.84 kB / 0.5702 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.3939, allocations: 29.59 kB / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3939, allocations: 4 kB / 0.5703 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3939, allocations: 0 / 0.5703 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3939, allocations: 4 kB / 0.5703 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.3942, allocations: 244.5 kB / 0.5705 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.3942, allocations: 3.938 kB / 0.5705 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.3946, allocations: 95.95 kB / 0.5706 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3946, allocations: 0 / 0.5706 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3946, allocations: 7.984 kB / 0.5706 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3946, allocations: 4 kB / 0.5706 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3946, allocations: 4 kB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.3949, allocations: 271.6 kB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.395, allocations: 31.7 kB / 0.5709 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.395, allocations: 7.938 kB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.3951, allocations: 8 kB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.3951, allocations: 11.97 kB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3951, allocations: 4.25 kB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.308e-05/0.3952, allocations: 95.27 kB / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3952, allocations: 0 / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3954, allocations: 47.89 kB / 0.5711 GB, free: 10.75 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.0001127/0.3955, allocations: 99.19 kB / 0.5712 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.3958, allocations: 123.9 kB / 0.5713 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3958, allocations: 0 / 0.5713 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3959, allocations: 71.89 kB / 0.5714 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3962, allocations: 19.94 kB / 0.5714 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007849/0.397, allocations: 499.5 kB / 0.5719 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.3974, allocations: 0.7434 MB / 0.5726 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.3974, allocations: 19.44 kB / 0.5726 GB, free: 9.121 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3974, allocations: 0 / 0.5726 GB, free: 9.121 MB / 414.1 MB Notification: Performance of Templates: time 0.003679/0.4011, allocations: 1.771 MB / 0.5743 GB, free: 7.348 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/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: 7.333489966811612]