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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 75.88 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3268, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003136/0.33, allocations: 2.12 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.332, allocations: 1.362 MB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.3321, allocations: 4.125 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.028e-05/0.3321, allocations: 27.67 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3323, allocations: 43.75 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.3327, allocations: 190.1 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3329, allocations: 179.5 kB / 0.5348 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3331, allocations: 105.1 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3333, allocations: 89.52 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3334, allocations: 92.12 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.3334, allocations: 15.97 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.3337, allocations: 150.6 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.3338, allocations: 50.22 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.3339, allocations: 87.88 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.3342, allocations: 324.5 kB / 0.5357 GB, free: 9.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3342, allocations: 1.062 kB / 0.5357 GB, free: 9.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.3342, allocations: 0 / 0.5357 GB, free: 9.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3343, allocations: 0 / 0.5357 GB, free: 9.957 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000623/0.3349, allocations: 0.5208 MB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3349, allocations: 8.531 kB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.3359, allocations: 91.45 kB / 0.5363 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.3362, allocations: 214.5 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.3362, allocations: 18.81 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.3362, allocations: 26 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.3366, allocations: 201.8 kB / 0.5368 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3366, allocations: 1.062 kB / 0.5368 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.3366, allocations: 10.12 kB / 0.5368 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3367, allocations: 7.219 kB / 0.5368 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.3369, allocations: 155.5 kB / 0.5369 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.3378, allocations: 0.5833 MB / 0.5375 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.3383, allocations: 236.5 kB / 0.5377 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3385, allocations: 69.86 kB / 0.5378 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3385, allocations: 7.547 kB / 0.5378 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3385, allocations: 31.92 kB / 0.5378 GB, free: 8.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.293e-06/0.3385, allocations: 7.938 kB / 0.5378 GB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004586/0.339, allocations: 214.7 kB / 0.538 GB, free: 8.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3391, allocations: 54.31 kB / 0.5381 GB, free: 8.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.3391, allocations: 105.7 kB / 0.5382 GB, free: 7.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3392, allocations: 30.61 kB / 0.5382 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.3393, allocations: 137.1 kB / 0.5383 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.3393, allocations: 93.17 kB / 0.5384 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.3394, allocations: 39.3 kB / 0.5385 GB, free: 7.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3395, allocations: 326.4 kB / 0.5388 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.3396, allocations: 44.16 kB / 0.5388 GB, free: 7.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.3397, allocations: 46.66 kB / 0.5389 GB, free: 7.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3399, allocations: 115.5 kB / 0.539 GB, free: 7.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3399, allocations: 3.938 kB / 0.539 GB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002617/0.3402, allocations: 168.4 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3402, allocations: 4.531 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3402, allocations: 4 kB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3403, allocations: 1.875 kB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.3406, allocations: 103 kB / 0.5392 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3406, allocations: 1.188 kB / 0.5392 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.514e-05/0.3407, allocations: 15.94 kB / 0.5393 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3407, allocations: 9.5 kB / 0.5393 GB, free: 7.164 MB / 398.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 9.615e-05/0.3408, allocations: 129.1 kB / 0.5394 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3409, allocations: 12.31 kB / 0.5394 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.3409, allocations: 22.88 kB / 0.5394 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3409, allocations: 3 kB / 0.5394 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.341, allocations: 3.938 kB / 0.5394 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.341, allocations: 5.391 kB / 0.5394 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.3412, allocations: 267.3 kB / 0.5397 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3412, allocations: 3.938 kB / 0.5397 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.3416, allocations: 103.2 kB / 0.5398 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3416, allocations: 1.125 kB / 0.5398 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3416, allocations: 5.844 kB / 0.5398 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3416, allocations: 1.062 kB / 0.5398 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3416, allocations: 0 / 0.5398 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.342, allocations: 282 kB / 0.5401 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.342, allocations: 92.58 kB / 0.5402 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3421, allocations: 14.08 kB / 0.5402 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.3422, allocations: 2.75 kB / 0.5402 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3422, allocations: 14.7 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3422, allocations: 4.469 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.3423, allocations: 88.86 kB / 0.5403 GB, free: 6.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3423, allocations: 0 / 0.5403 GB, free: 6.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3426, allocations: 51.47 kB / 0.5403 GB, free: 6.27 MB / 398.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.0001036/0.3427, allocations: 102.2 kB / 0.5404 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.3429, allocations: 132.4 kB / 0.5406 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.343, allocations: 0 / 0.5406 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3431, allocations: 77.61 kB / 0.5406 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3433, allocations: 14.88 kB / 0.5406 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.3441, allocations: 469.8 kB / 0.5411 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3444, allocations: 0.7357 MB / 0.5418 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.865e-05/0.3445, allocations: 15.75 kB / 0.5418 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3445, allocations: 24.62 kB / 0.5418 GB, free: 5.031 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3445, allocations: 0 / 0.5418 GB, free: 5.031 MB / 398.1 MB Notification: Performance of Templates: time 0.003115/0.3476, allocations: 0.9533 MB / 0.5428 GB, free: 4.551 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches