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.001397/0.001397, allocations: 81.62 kB / 21.25 MB, free: 0.5469 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.001641/0.001641, allocations: 159.8 kB / 24.5 MB, free: 3.719 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.477/1.477, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 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.2778/0.2778, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.002476/0.002476, allocations: 79.86 kB / 443.2 MB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3213, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002492/0.3238, allocations: 2.045 MB / 0.4993 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3253, allocations: 1.269 MB / 0.5005 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.3254, allocations: 6.594 kB / 0.5005 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.459e-05/0.3255, allocations: 23.11 kB / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.672e-05/0.3256, allocations: 41.98 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.3259, allocations: 202.9 kB / 0.5008 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.3261, allocations: 175.9 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3263, allocations: 79.66 kB / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3264, allocations: 87.11 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.3265, allocations: 79.83 kB / 0.5012 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3265, allocations: 16.06 kB / 0.5012 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.3267, allocations: 152.7 kB / 0.5013 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.3267, allocations: 45.42 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.3268, allocations: 76.25 kB / 0.5015 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.3271, allocations: 321.6 kB / 0.5018 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3271, allocations: 0 / 0.5018 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3271, allocations: 0 / 0.5018 GB, free: 26.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3271, allocations: 0 / 0.5018 GB, free: 26.96 MB / 446.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.0004355/0.3275, allocations: 466.8 kB / 0.5022 GB, free: 26.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3275, allocations: 13.66 kB / 0.5022 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.3284, allocations: 81.44 kB / 0.5023 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3286, allocations: 156.1 kB / 0.5025 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3286, allocations: 18.66 kB / 0.5025 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3286, allocations: 24.34 kB / 0.5025 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.3289, allocations: 209.9 kB / 0.5027 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3289, allocations: 0 / 0.5027 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3289, allocations: 10.66 kB / 0.5027 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3289, allocations: 9.75 kB / 0.5027 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.3292, allocations: 146.9 kB / 0.5029 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.3298, allocations: 471.9 kB / 0.5033 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.3302, allocations: 216.1 kB / 0.5035 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3303, allocations: 64.12 kB / 0.5036 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3303, allocations: 7.203 kB / 0.5036 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.3304, allocations: 34.73 kB / 0.5036 GB, free: 25.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.884e-06/0.3304, allocations: 3.984 kB / 0.5036 GB, free: 25.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0003787/0.3307, allocations: 220.4 kB / 0.5038 GB, free: 25.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.3308, allocations: 54.69 kB / 0.5039 GB, free: 25.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.53e-05/0.3308, allocations: 115 kB / 0.504 GB, free: 25.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3308, allocations: 29.7 kB / 0.504 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.3309, allocations: 132.9 kB / 0.5041 GB, free: 25.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.3309, allocations: 95.39 kB / 0.5042 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.331, allocations: 43.91 kB / 0.5043 GB, free: 25.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.331, allocations: 321.4 kB / 0.5046 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.3311, allocations: 43.45 kB / 0.5046 GB, free: 24.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.3312, allocations: 49.28 kB / 0.5047 GB, free: 24.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3313, allocations: 120.5 kB / 0.5048 GB, free: 24.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3313, allocations: 4 kB / 0.5048 GB, free: 24.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000214/0.3315, allocations: 164.9 kB / 0.5049 GB, free: 24.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3316, allocations: 9.719 kB / 0.505 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3316, allocations: 0 / 0.505 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3316, allocations: 0 / 0.505 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3319, allocations: 103.2 kB / 0.5051 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3319, allocations: 4 kB / 0.5051 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.332, allocations: 13.64 kB / 0.5051 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.332, allocations: 10.89 kB / 0.5051 GB, free: 24.73 MB / 446.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 6.738e-05/0.3321, allocations: 127.6 kB / 0.5052 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.3321, allocations: 17.44 kB / 0.5052 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.3321, allocations: 24.59 kB / 0.5052 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3321, allocations: 3.062 kB / 0.5052 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3321, allocations: 0 / 0.5052 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3321, allocations: 3.328 kB / 0.5053 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3323, allocations: 180 kB / 0.5054 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3323, allocations: 4 kB / 0.5054 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.3326, allocations: 104.1 kB / 0.5055 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3326, allocations: 0 / 0.5055 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3326, allocations: 11.88 kB / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3326, allocations: 2.844 kB / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3326, allocations: 0 / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.3329, allocations: 277.2 kB / 0.5058 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.3329, allocations: 14.84 kB / 0.5058 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3329, allocations: 10.84 kB / 0.5058 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.333, allocations: 6.969 kB / 0.5058 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.333, allocations: 15.94 kB / 0.5059 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.3331, allocations: 3.094 kB / 0.5059 GB, free: 24.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.338e-05/0.3331, allocations: 88.72 kB / 0.5059 GB, free: 24.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3331, allocations: 0 / 0.5059 GB, free: 24.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.3333, allocations: 48.89 kB / 0.506 GB, free: 24.07 MB / 446.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 7.023e-05/0.3334, allocations: 100.2 kB / 0.5061 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3336, allocations: 127.9 kB / 0.5062 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3336, allocations: 3 kB / 0.5062 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.3337, allocations: 72.89 kB / 0.5063 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3339, allocations: 12.94 kB / 0.5063 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.3345, allocations: 491.9 kB / 0.5068 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.3345, allocations: 117.9 kB / 0.5069 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.615e-05/0.3346, allocations: 18.84 kB / 0.5069 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.3347, allocations: 21.06 kB / 0.5069 GB, free: 23.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3347, allocations: 0 / 0.5069 GB, free: 23.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003147/0.3378, allocations: 0.7475 MB / 0.5076 GB, free: 23.38 MB / 446.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 -s ida -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: 5.071790979010984]