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.001755/0.001755, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002365/0.002365, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.598/1.598, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2236/0.2236, allocations: 32.38 MB / 270 MB, free: 14.77 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 1.513e-06/1.513e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.418e-05, allocations: 10.25 kB / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002437/0.002461, allocations: 2.022 MB / 349 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.004013, allocations: 1.208 MB / 350.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.004093, allocations: 4 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.61e-05/0.004149, allocations: 23.67 kB / 350.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.004267, allocations: 47.62 kB / 350.3 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.00468, allocations: 183.1 kB / 350.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.004817, allocations: 184 kB / 350.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.00497, allocations: 76.14 kB / 350.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.00511, allocations: 111.7 kB / 350.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.005181, allocations: 67.72 kB / 350.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.005206, allocations: 16 kB / 350.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.005424, allocations: 147.7 kB / 351 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.005451, allocations: 43.83 kB / 351.1 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.005499, allocations: 59.83 kB / 351.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.005801, allocations: 326.6 kB / 351.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.005804, allocations: 0 / 351.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005805, allocations: 4 kB / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.00581, allocations: 0 / 351.4 MB, free: 5.273 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.0004956/0.006305, allocations: 457.6 kB / 351.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.006342, allocations: 11.97 kB / 351.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.007171, allocations: 159.8 kB / 352.1 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.007267, allocations: 133.5 kB / 352.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.00729, allocations: 21.03 kB / 352.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.007315, allocations: 32.38 kB / 352.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.007617, allocations: 198.7 kB / 352.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.007628, allocations: 192 / 352.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.007648, allocations: 16.38 kB / 352.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.007655, allocations: 7.938 kB / 352.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.007883, allocations: 146.5 kB / 352.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.00857, allocations: 496.7 kB / 353.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.009022, allocations: 204.9 kB / 353.3 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.009131, allocations: 65.3 kB / 353.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.009159, allocations: 4.234 kB / 353.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.009173, allocations: 31.27 kB / 353.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.009175, allocations: 4 kB / 353.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004226/0.009597, allocations: 243.2 kB / 353.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.009619, allocations: 51.41 kB / 353.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.009672, allocations: 105.8 kB / 353.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.009685, allocations: 29.7 kB / 353.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.009723, allocations: 132.7 kB / 353.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.009771, allocations: 91.19 kB / 354 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.009823, allocations: 45.7 kB / 354.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.009875, allocations: 318.8 kB / 354.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.009959, allocations: 43.97 kB / 354.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.01003, allocations: 48.2 kB / 354.5 MB, free: 2.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.01021, allocations: 116.8 kB / 354.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01022, allocations: 4 kB / 354.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000228/0.01044, allocations: 174 kB / 354.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01046, allocations: 8 kB / 354.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01046, allocations: 0 / 354.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.01048, allocations: 7.922 kB / 354.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.0108, allocations: 103.9 kB / 354.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01081, allocations: 0 / 354.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.01087, allocations: 15.89 kB / 354.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01088, allocations: 11.94 kB / 354.9 MB, free: 1.633 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 6.782e-05/0.01095, allocations: 121.8 kB / 355 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.01099, allocations: 23.91 kB / 355 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.01104, allocations: 21.31 kB / 355.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01105, allocations: 19.86 kB / 355.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.01105, allocations: 0 / 355.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.01107, allocations: 0 / 355.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.01124, allocations: 189.1 kB / 355.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01124, allocations: 0 / 355.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.01155, allocations: 87.95 kB / 355.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01155, allocations: 4 kB / 355.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01156, allocations: 8.25 kB / 355.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01157, allocations: 7.984 kB / 355.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01157, allocations: 7.938 kB / 355.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.01183, allocations: 279.6 kB / 355.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01184, allocations: 19.83 kB / 355.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01186, allocations: 4 kB / 355.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.01195, allocations: 8 kB / 355.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.01201, allocations: 15.91 kB / 355.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.01202, allocations: 4 kB / 355.7 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.369e-05/0.01205, allocations: 83.28 kB / 355.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01205, allocations: 8 kB / 355.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.01233, allocations: 51.89 kB / 355.9 MB, free: 0.6289 MB / 282.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.104e-05/0.01242, allocations: 103.2 kB / 356 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.01265, allocations: 123.9 kB / 356.1 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01265, allocations: 0 / 356.1 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.01274, allocations: 67.91 kB / 356.1 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.01309, allocations: 15.98 kB / 356.2 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/0.01375, allocations: 436.8 kB / 356.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.01389, allocations: 128.8 kB / 356.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.01399, allocations: 17.47 kB / 356.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.01405, allocations: 16.5 kB / 356.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01405, allocations: 4 kB / 356.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Templates: time 0.004258/0.01831, allocations: 0.9858 MB / 357.7 MB, free: 14.71 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/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.115813364973292]