Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 46.95 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 67.89 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3086, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00345/0.312, allocations: 2.032 MB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.3143, allocations: 1.274 MB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.3144, allocations: 4 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.029e-05/0.3145, allocations: 23.67 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.3146, allocations: 39.59 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.3151, allocations: 199.2 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.3153, allocations: 180.1 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3155, allocations: 95.81 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3157, allocations: 83.7 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3158, allocations: 87.5 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3158, allocations: 16 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.3161, allocations: 151.9 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.3161, allocations: 43.78 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.3162, allocations: 75.59 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.3166, allocations: 328.9 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3166, allocations: 4 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3166, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3166, allocations: 0 / 0.5663 GB, free: 15.5 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.0005965/0.3172, allocations: 465.5 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3172, allocations: 8.031 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/0.3181, allocations: 80.73 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3184, allocations: 158.2 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3184, allocations: 21.03 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.3185, allocations: 24.38 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3188, allocations: 202.4 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3189, allocations: 0 / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3189, allocations: 11.98 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3189, allocations: 11.98 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.3192, allocations: 150.5 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.32, allocations: 472.8 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.3205, allocations: 219.8 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3207, allocations: 57.3 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3207, allocations: 8.234 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.3207, allocations: 38.73 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.3207, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004933/0.3212, allocations: 219.9 kB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3213, allocations: 51.41 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.3214, allocations: 101.9 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.3214, allocations: 37.64 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.3215, allocations: 132.7 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.3216, allocations: 91.17 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.3217, allocations: 45.7 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3218, allocations: 326.8 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.3219, allocations: 43.97 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.875e-05/0.322, allocations: 41.84 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3222, allocations: 121.3 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3222, allocations: 0 / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002864/0.3225, allocations: 161.8 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3225, allocations: 11.94 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3225, allocations: 0 / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3226, allocations: 4 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.3229, allocations: 107.9 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3229, allocations: 0 / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.323, allocations: 15.89 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.323, allocations: 11.94 kB / 0.5696 GB, free: 11.95 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.0001198/0.3231, allocations: 125.8 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.3232, allocations: 23.84 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.3232, allocations: 25.61 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3233, allocations: 0 / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3233, allocations: 0 / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.3233, allocations: 11.89 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3233, allocations: 8 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3234, allocations: 7.984 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.3234, allocations: 15.97 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006684/0.3241, allocations: 348.7 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003635/0.3245, allocations: 355.1 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000115/0.3246, allocations: 59.95 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.3246, allocations: 83.28 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of Backend: time 2.8e-07/0.3246, allocations: 0 / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.3253, allocations: 253.8 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 0.0009496/0.3262, allocations: 0.8737 MB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of Templates: time 0.006336/0.3326, allocations: 2.795 MB / 0.5745 GB, free: 6.914 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.096804074011743]