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.002063/0.002063, allocations: 78.8 kB / 20.52 MB, free: 1.281 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.00278/0.00278, allocations: 167.5 kB / 23.76 MB, free: 4.473 MB / 14.72 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.581/1.581, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] 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.2235/0.2235, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 67.91 kB / 407.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1247, allocations: 61.03 MB / 468.8 MB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00419/0.1289, allocations: 2.026 MB / 470.8 MB, free: 6.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1314, allocations: 1.216 MB / 472 MB, free: 5.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1315, allocations: 4 kB / 472.1 MB, free: 5.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.152e-05/0.1316, allocations: 19.73 kB / 472.1 MB, free: 4.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.1317, allocations: 39.66 kB / 472.1 MB, free: 4.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.1322, allocations: 179.3 kB / 472.3 MB, free: 4.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1325, allocations: 184 kB / 472.5 MB, free: 4.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1327, allocations: 76.14 kB / 472.5 MB, free: 4.527 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1328, allocations: 79.66 kB / 472.6 MB, free: 4.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1329, allocations: 79.53 kB / 472.7 MB, free: 4.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.133, allocations: 16 kB / 472.7 MB, free: 4.355 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.1332, allocations: 143.9 kB / 472.8 MB, free: 4.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1333, allocations: 39.8 kB / 472.9 MB, free: 4.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1334, allocations: 79.58 kB / 473 MB, free: 4.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.1339, allocations: 318.6 kB / 473.3 MB, free: 3.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1339, allocations: 0 / 473.3 MB, free: 3.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1339, allocations: 0 / 473.3 MB, free: 3.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1339, allocations: 4 kB / 473.3 MB, free: 3.781 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.0007237/0.1346, allocations: 457.6 kB / 473.7 MB, free: 3.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1347, allocations: 8.031 kB / 473.7 MB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008605/0.1355, allocations: 72.7 kB / 473.8 MB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1357, allocations: 122.3 kB / 473.9 MB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.1357, allocations: 29.03 kB / 474 MB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.1357, allocations: 24.38 kB / 474 MB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.1361, allocations: 210.4 kB / 474.2 MB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1361, allocations: 0 / 474.2 MB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.1362, allocations: 12 kB / 474.2 MB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1362, allocations: 7.938 kB / 474.2 MB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.1365, allocations: 142.5 kB / 474.3 MB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.1373, allocations: 484.7 kB / 474.8 MB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.1379, allocations: 215.8 kB / 475 MB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.138, allocations: 57.3 kB / 475.1 MB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.138, allocations: 4.234 kB / 475.1 MB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.1381, allocations: 42.73 kB / 475.1 MB, free: 1.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.332e-06/0.1381, allocations: 3.938 kB / 475.1 MB, free: 1.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005055/0.1386, allocations: 226.1 kB / 475.4 MB, free: 1.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1386, allocations: 51.41 kB / 475.4 MB, free: 1.531 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.1387, allocations: 105.8 kB / 475.5 MB, free: 1.418 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1387, allocations: 29.7 kB / 475.5 MB, free: 1.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.1388, allocations: 136.7 kB / 475.7 MB, free: 1.246 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.1389, allocations: 91.23 kB / 475.8 MB, free: 1.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.139, allocations: 41.7 kB / 475.8 MB, free: 1.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1391, allocations: 318.8 kB / 476.1 MB, free: 0.7891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1392, allocations: 43.97 kB / 476.2 MB, free: 0.7461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.1393, allocations: 52.91 kB / 476.2 MB, free: 0.6953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.1395, allocations: 121.2 kB / 476.3 MB, free: 0.5742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1395, allocations: 4 kB / 476.3 MB, free: 0.5703 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002838/0.1398, allocations: 157.6 kB / 476.5 MB, free: 420 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1398, allocations: 9.656 kB / 476.5 MB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1398, allocations: 0 / 476.5 MB, free: 412 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1399, allocations: 7.984 kB / 476.5 MB, free: 404 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.1402, allocations: 107.9 kB / 476.6 MB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1402, allocations: 0 / 476.6 MB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.1403, allocations: 15.89 kB / 476.6 MB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1403, allocations: 4 kB / 476.6 MB, free: 276 kB / 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 0.0001508/0.1405, allocations: 125.8 kB / 476.7 MB, free: 140 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.1405, allocations: 15.84 kB / 476.8 MB, free: 124 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/0.1406, allocations: 29.3 kB / 476.8 MB, free: 92 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1406, allocations: 3.938 kB / 476.8 MB, free: 88 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1406, allocations: 4 kB / 476.8 MB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1406, allocations: 0 / 476.8 MB, free: 84 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2153/0.3558, allocations: 178.5 kB / 477 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3559, allocations: 0 / 477 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.3562, allocations: 97.84 kB / 477.1 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.3562, allocations: 0 / 477.1 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3563, allocations: 12.06 kB / 477.1 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.3563, allocations: 6.828 kB / 477.1 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3563, allocations: 0 / 477.1 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3566, allocations: 272.8 kB / 477.4 MB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3566, allocations: 19.75 kB / 477.4 MB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3567, allocations: 6.75 kB / 477.4 MB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3568, allocations: 12.3 kB / 477.4 MB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.3568, allocations: 13.62 kB / 477.4 MB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3568, allocations: 10.12 kB / 477.4 MB, free: 49.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.3568, allocations: 81.97 kB / 477.5 MB, free: 49.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3568, allocations: 0 / 477.5 MB, free: 49.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.3571, allocations: 48.41 kB / 477.5 MB, free: 49.84 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 8.35e-05/0.3572, allocations: 98.19 kB / 477.6 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.3575, allocations: 126.4 kB / 477.8 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3575, allocations: 0 / 477.8 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3576, allocations: 78.64 kB / 477.8 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3579, allocations: 16.61 kB / 477.9 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/0.3586, allocations: 483.2 kB / 478.3 MB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.3587, allocations: 117.9 kB / 478.4 MB, free: 49.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.434e-05/0.3588, allocations: 16.84 kB / 478.5 MB, free: 49.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.3588, allocations: 18.41 kB / 478.5 MB, free: 49.46 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3588, allocations: 3 kB / 478.5 MB, free: 49.46 MB / 446.1 MB Notification: Performance of Templates: time 0.00384/0.3627, allocations: 0.7526 MB / 479.2 MB, free: 49.41 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.323250543093309]