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.001633/0.001633, allocations: 73.28 kB / 19.93 MB, free: 1.781 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.001546/0.001546, allocations: 169.5 kB / 23.22 MB, free: 4.891 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.362/1.362, allocations: 158.6 MB / 185 MB, free: 6.402 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.2139/0.2139, allocations: 32.37 MB / 269.6 MB, free: 4.754 MB / 254.1 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.333e-06/1.333e-06, allocations: 0 / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.75e-05, allocations: 2.281 kB / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003485/0.003512, allocations: 2.018 MB / 409.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.005741, allocations: 1.212 MB / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.005829, allocations: 4 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.157e-05/0.005891, allocations: 23.67 kB / 410.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.006029, allocations: 39.7 kB / 410.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.006521, allocations: 187.1 kB / 410.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.006746, allocations: 188 kB / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.006945, allocations: 76.12 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.007138, allocations: 115.6 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.007242, allocations: 63.78 kB / 411.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.007273, allocations: 16 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.007552, allocations: 151.7 kB / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.007597, allocations: 39.84 kB / 411.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.007675, allocations: 67.75 kB / 411.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.008119, allocations: 322.8 kB / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.008122, allocations: 0 / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008123, allocations: 0 / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.008128, allocations: 0 / 411.9 MB, free: 14.47 MB / 350.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.0006301/0.008758, allocations: 461.5 kB / 412.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.008792, allocations: 8.031 kB / 412.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/0.00967, allocations: 72.69 kB / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.009799, allocations: 129.5 kB / 412.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.009828, allocations: 21.03 kB / 412.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.009864, allocations: 28.36 kB / 412.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.01025, allocations: 198.7 kB / 412.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01026, allocations: 192 / 412.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.01029, allocations: 12.38 kB / 412.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.01031, allocations: 15.92 kB / 412.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.01062, allocations: 146.5 kB / 412.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.01149, allocations: 484.7 kB / 413.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.01206, allocations: 210.1 kB / 413.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.01219, allocations: 65.3 kB / 413.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.01222, allocations: 8.234 kB / 413.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.01225, allocations: 31.27 kB / 413.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.01225, allocations: 0 / 413.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005041/0.01275, allocations: 226.4 kB / 413.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.0128, allocations: 55.41 kB / 414 MB, free: 12.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.0129, allocations: 106 kB / 414.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.01293, allocations: 29.7 kB / 414.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.01303, allocations: 128.8 kB / 414.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.01312, allocations: 99.16 kB / 414.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.01318, allocations: 45.66 kB / 414.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.01336, allocations: 322.8 kB / 414.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.01347, allocations: 43.97 kB / 414.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.01357, allocations: 48.03 kB / 414.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.0138, allocations: 114.2 kB / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0138, allocations: 0 / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003072/0.01411, allocations: 177.5 kB / 415.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.01412, allocations: 4 kB / 415.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01413, allocations: 0 / 415.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.01415, allocations: 7.938 kB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.01454, allocations: 99.88 kB / 415.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.01456, allocations: 4 kB / 415.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.01463, allocations: 15.89 kB / 415.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01464, allocations: 8 kB / 415.2 MB, free: 10.95 MB / 350.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.0001266/0.01477, allocations: 129.8 kB / 415.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.01481, allocations: 11.95 kB / 415.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.01487, allocations: 21.31 kB / 415.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.01488, allocations: 7.938 kB / 415.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01488, allocations: 0 / 415.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01489, allocations: 0 / 415.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.01512, allocations: 177.2 kB / 415.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01512, allocations: 11.88 kB / 415.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.0155, allocations: 99.94 kB / 415.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.0155, allocations: 4 kB / 415.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01551, allocations: 0 / 415.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01551, allocations: 0 / 415.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01552, allocations: 3.938 kB / 415.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.01587, allocations: 275.3 kB / 415.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.01589, allocations: 11.89 kB / 416 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.01591, allocations: 8 kB / 416 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.01601, allocations: 4 kB / 416 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.01606, allocations: 23.91 kB / 416 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01607, allocations: 8 kB / 416 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.01613, allocations: 91.27 kB / 416.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01613, allocations: 0 / 416.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.01641, allocations: 51.78 kB / 416.1 MB, free: 9.977 MB / 350.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 0.0001297/0.01654, allocations: 103.1 kB / 416.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01682, allocations: 127.9 kB / 416.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01682, allocations: 0 / 416.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.01695, allocations: 68.84 kB / 416.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.0172, allocations: 16 kB / 416.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.01796, allocations: 418.7 kB / 416.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.0181, allocations: 124.7 kB / 417 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.01819, allocations: 21.47 kB / 417 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.01824, allocations: 16.5 kB / 417 MB, free: 9.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01824, allocations: 0 / 417 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Templates: time 0.00376/0.022, allocations: 0.767 MB / 417.8 MB, free: 8.285 MB / 350.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 -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: 4.606980860233307]