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.001783/0.001783, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002419/0.002419, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.2298/0.2298, allocations: 46.94 MB / 361.5 MB, free: 3.918 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.002731/0.002731, allocations: 83.86 kB / 0.4974 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3339, allocations: 66.09 MB / 0.5619 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004052/0.338, allocations: 2.03 MB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.3407, allocations: 1.274 MB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.3409, allocations: 4 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.145e-05/0.341, allocations: 23.67 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.3411, allocations: 31.66 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.3419, allocations: 203.3 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3421, allocations: 176.1 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.3424, allocations: 83.88 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.3426, allocations: 95.58 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3428, allocations: 75.55 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.3428, allocations: 16 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.3431, allocations: 151.9 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.3432, allocations: 47.83 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.3433, allocations: 71.61 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.3438, allocations: 328.9 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3438, allocations: 0 / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3438, allocations: 0 / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3438, allocations: 0 / 0.5664 GB, free: 15.33 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.0007261/0.3445, allocations: 465.5 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3446, allocations: 8.031 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/0.3455, allocations: 88.67 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.3459, allocations: 150.2 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3459, allocations: 21.03 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.346, allocations: 24.38 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.3464, allocations: 210.4 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3464, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3464, allocations: 8 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3464, allocations: 8 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.3467, allocations: 150.5 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.3476, allocations: 468.8 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.3482, allocations: 215.8 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3483, allocations: 69.3 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3483, allocations: 4.234 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.3484, allocations: 42.67 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.913e-06/0.3484, allocations: 0 / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005105/0.3489, allocations: 215.9 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.349, allocations: 55.41 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.3491, allocations: 105.8 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3491, allocations: 29.7 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3492, allocations: 140.7 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.3493, allocations: 95.11 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.3494, allocations: 41.72 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3495, allocations: 318.8 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3496, allocations: 47.97 kB / 0.5693 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.3497, allocations: 48.83 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.35, allocations: 117.3 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.35, allocations: 0 / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002988/0.3503, allocations: 165.6 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3503, allocations: 7.938 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3503, allocations: 4 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3503, allocations: 0 / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.3507, allocations: 103.9 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3507, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.3508, allocations: 11.89 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3508, allocations: 12 kB / 0.5697 GB, free: 11.77 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.0001479/0.3509, allocations: 133.8 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.351, allocations: 19.84 kB / 0.5699 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.351, allocations: 21.62 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.351, allocations: 4 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.351, allocations: 0 / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.351, allocations: 0 / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3513, allocations: 181.1 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3513, allocations: 3.938 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.3517, allocations: 107.9 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3517, allocations: 0 / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3517, allocations: 11.94 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3517, allocations: 0 / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3517, allocations: 0 / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.3521, allocations: 275.6 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3521, allocations: 15.84 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3521, allocations: 8.188 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.3522, allocations: 19.98 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.3523, allocations: 15.97 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3523, allocations: 8 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.3524, allocations: 83.27 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3524, allocations: 0 / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3527, allocations: 51.83 kB / 0.5706 GB, free: 10.77 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.000142/0.3528, allocations: 99.19 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.3531, allocations: 119.9 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3531, allocations: 4 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3533, allocations: 75.89 kB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3535, allocations: 14.44 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.3544, allocations: 0.4994 MB / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.3546, allocations: 124.6 kB / 0.5715 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.3546, allocations: 15.44 kB / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3546, allocations: 0 / 0.5716 GB, free: 9.773 MB / 414.1 MB Notification: Performance of Templates: time 0.003906/0.3585, allocations: 1.853 MB / 0.5734 GB, free: 7.918 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.618995699100196]