Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001224/0.001224, allocations: 91.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001072/0.001072, allocations: 169.3 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.018/1.018, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1346/0.1346, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.702e-05/3.946e-05, allocations: 2.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002705/0.002744, allocations: 2.074 MB / 349.8 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.00426, allocations: 1.313 MB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.004355, allocations: 4 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.169e-05/0.004417, allocations: 19.73 kB / 351.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.00454, allocations: 35.66 kB / 351.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.005024, allocations: 191.1 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.005213, allocations: 184 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.00543, allocations: 80.14 kB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.005623, allocations: 107.7 kB / 351.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.005721, allocations: 59.78 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.005748, allocations: 16 kB / 351.8 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.006016, allocations: 155.6 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.00605, allocations: 39.84 kB / 351.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.006101, allocations: 67.75 kB / 352 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.006459, allocations: 274.9 kB / 352.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.006466, allocations: 3.938 kB / 352.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006467, allocations: 4 kB / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.006474, allocations: 4 kB / 352.3 MB, free: 4.809 MB / 282.7 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.0004619/0.006936, allocations: 0.5467 MB / 352.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.006977, allocations: 8.031 kB / 352.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005314/0.007508, allocations: 167.7 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.007613, allocations: 120.4 kB / 353.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.007638, allocations: 21.03 kB / 353.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.007659, allocations: 28.38 kB / 353.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.007891, allocations: 183.3 kB / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.0079, allocations: 192 / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.007918, allocations: 16.38 kB / 353.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.007928, allocations: 7.938 kB / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.008033, allocations: 91.86 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.008603, allocations: 0.539 MB / 354 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.008892, allocations: 185.1 kB / 354.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.008949, allocations: 52.11 kB / 354.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.008969, allocations: 8.172 kB / 354.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.008989, allocations: 42.09 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.008991, allocations: 0 / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002515/0.009243, allocations: 187.6 kB / 354.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.00927, allocations: 55.39 kB / 354.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.009324, allocations: 157.9 kB / 354.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.009333, allocations: 29.7 kB / 354.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.009371, allocations: 183.4 kB / 354.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.009412, allocations: 95.17 kB / 355 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.009453, allocations: 47.36 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.00951, allocations: 0.4884 MB / 355.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.009548, allocations: 31.92 kB / 355.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.009584, allocations: 32.2 kB / 355.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.009674, allocations: 91.59 kB / 355.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.009677, allocations: 4 kB / 355.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001294/0.009807, allocations: 150.1 kB / 355.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.00982, allocations: 4 kB / 355.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009825, allocations: 0 / 355.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.009839, allocations: 3.938 kB / 355.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01002, allocations: 103.9 kB / 355.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.01003, allocations: 0 / 355.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.01006, allocations: 15.89 kB / 355.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.01007, allocations: 12 kB / 355.9 MB, free: 0.9336 MB / 282.7 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 5.545e-05/0.01012, allocations: 164.5 kB / 356.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.01015, allocations: 24.16 kB / 356.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.01018, allocations: 25.3 kB / 356.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01018, allocations: 7.938 kB / 356.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01019, allocations: 4 kB / 356.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01019, allocations: 0 / 356.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.01033, allocations: 192.5 kB / 356.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01033, allocations: 4 kB / 356.4 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.01049, allocations: 95.89 kB / 356.5 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.0105, allocations: 0 / 356.5 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01051, allocations: 7.984 kB / 356.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01051, allocations: 4 kB / 356.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01051, allocations: 3.938 kB / 356.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.01066, allocations: 295.8 kB / 356.8 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.01067, allocations: 19.84 kB / 356.8 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.01068, allocations: 4 kB / 356.8 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.314e-05/0.01073, allocations: 8 kB / 356.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.01077, allocations: 15.91 kB / 356.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.01078, allocations: 8 kB / 356.8 MB, free: 0 / 282.7 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.01086, allocations: 127.2 kB / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01086, allocations: 3.938 kB / 356.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.01105, allocations: 55.89 kB / 357 MB, free: 15.82 MB / 298.7 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 9.564e-05/0.01114, allocations: 95.25 kB / 357.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.01133, allocations: 107.6 kB / 357.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01133, allocations: 4 kB / 357.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.678e-05/0.0114, allocations: 76.44 kB / 357.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01163, allocations: 23.88 kB / 357.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.01219, allocations: 437.4 kB / 357.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.01226, allocations: 75.83 kB / 357.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.81e-05/0.01233, allocations: 21.47 kB / 357.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.01237, allocations: 16.5 kB / 357.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01237, allocations: 0 / 357.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003155/0.01552, allocations: 1.033 MB / 358.9 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1064137052744627]