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.001043/0.001043, allocations: 112.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003096/0.34, allocations: 2.11 MB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.342, allocations: 1.383 MB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.3421, allocations: 2.75 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.806e-05/0.3421, allocations: 21.11 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3423, allocations: 34.41 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.3427, allocations: 194 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3429, allocations: 183.1 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.3432, allocations: 101 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3433, allocations: 89.23 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3435, allocations: 92.27 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.3435, allocations: 16.47 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.3438, allocations: 153.9 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.3438, allocations: 43.66 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.3439, allocations: 95.75 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.3443, allocations: 316.3 kB / 0.5364 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3443, allocations: 1 kB / 0.5364 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3443, allocations: 0 / 0.5364 GB, free: 9.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3443, allocations: 0 / 0.5364 GB, free: 9.984 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.0006455/0.345, allocations: 0.5273 MB / 0.5369 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.345, allocations: 13.47 kB / 0.5369 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008893/0.3459, allocations: 74.94 kB / 0.537 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.3462, allocations: 213.5 kB / 0.5372 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3462, allocations: 19.44 kB / 0.5372 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3463, allocations: 25.59 kB / 0.5372 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.3466, allocations: 206.6 kB / 0.5374 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3467, allocations: 5.219 kB / 0.5374 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.3467, allocations: 10.09 kB / 0.5374 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3467, allocations: 6.406 kB / 0.5374 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.347, allocations: 143.8 kB / 0.5376 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.3478, allocations: 0.5872 MB / 0.5381 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.3483, allocations: 236.8 kB / 0.5384 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3485, allocations: 65.64 kB / 0.5384 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3485, allocations: 11.36 kB / 0.5384 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3485, allocations: 36.86 kB / 0.5385 GB, free: 8.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.3485, allocations: 3.938 kB / 0.5385 GB, free: 8.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004477/0.349, allocations: 218.8 kB / 0.5387 GB, free: 8.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.349, allocations: 54.62 kB / 0.5387 GB, free: 8.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.3491, allocations: 104.6 kB / 0.5388 GB, free: 8.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3491, allocations: 26.8 kB / 0.5389 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.3492, allocations: 145.4 kB / 0.539 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.3493, allocations: 89.31 kB / 0.5391 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.3494, allocations: 39.16 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3495, allocations: 322.1 kB / 0.5394 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.3496, allocations: 40.09 kB / 0.5395 GB, free: 7.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.3497, allocations: 50.48 kB / 0.5395 GB, free: 7.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3499, allocations: 115 kB / 0.5396 GB, free: 7.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3499, allocations: 5.531 kB / 0.5396 GB, free: 7.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002842/0.3502, allocations: 171 kB / 0.5398 GB, free: 7.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3502, allocations: 5.75 kB / 0.5398 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3502, allocations: 0 / 0.5398 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3502, allocations: 5.812 kB / 0.5398 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.3506, allocations: 94.28 kB / 0.5399 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3506, allocations: 9.984 kB / 0.5399 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.3507, allocations: 16.09 kB / 0.5399 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3507, allocations: 8.25 kB / 0.5399 GB, free: 7.191 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 0.0001025/0.3508, allocations: 129 kB / 0.5401 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.3508, allocations: 13.38 kB / 0.5401 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.3509, allocations: 26.69 kB / 0.5401 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3509, allocations: 0 / 0.5401 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3509, allocations: 0 / 0.5401 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.351, allocations: 93.11 kB / 0.5402 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.351, allocations: 13.98 kB / 0.5402 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.3511, allocations: 2 kB / 0.5402 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.3512, allocations: 15.52 kB / 0.5402 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006313/0.3518, allocations: 352.2 kB / 0.5406 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003284/0.3522, allocations: 351.7 kB / 0.5409 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001081/0.3523, allocations: 71.59 kB / 0.541 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.597e-05/0.3523, allocations: 80.5 kB / 0.541 GB, free: 6.312 MB / 398.1 MB Notification: Performance of Backend: time 6.61e-07/0.3523, allocations: 0 / 0.541 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006327/0.353, allocations: 259.8 kB / 0.5413 GB, free: 6.16 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008019/0.3538, allocations: 0.8603 MB / 0.5421 GB, free: 5.41 MB / 398.1 MB Notification: Performance of Templates: time 0.005902/0.3597, allocations: 2.648 MB / 0.5447 GB, free: 4.016 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches