Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001776/0.001776, allocations: 71.28 kB / 21.24 MB, free: 0.5469 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.002031/0.002031, allocations: 158.6 kB / 24.5 MB, free: 3.723 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.465/1.465, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 32.82 MB / 294.1 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002654/0.002654, allocations: 70.41 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3515, allocations: 65.45 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003377/0.3548, allocations: 2.036 MB / 0.4962 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3569, allocations: 1.274 MB / 0.4974 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.357, allocations: 3.031 kB / 0.4974 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.406e-05/0.3571, allocations: 26.2 kB / 0.4974 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.3572, allocations: 41.05 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.3579, allocations: 192.1 kB / 0.4977 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.3581, allocations: 186.6 kB / 0.4978 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.3583, allocations: 75.66 kB / 0.4979 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3585, allocations: 91.02 kB / 0.498 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-05/0.3586, allocations: 82.05 kB / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3586, allocations: 15.31 kB / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.3589, allocations: 148.7 kB / 0.4982 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.3589, allocations: 41.34 kB / 0.4983 GB, free: 28.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.3589, allocations: 79.73 kB / 0.4983 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.3593, allocations: 315.4 kB / 0.4986 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3593, allocations: 0 / 0.4986 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3593, allocations: 7.938 kB / 0.4986 GB, free: 28.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3593, allocations: 3.938 kB / 0.4987 GB, free: 28.55 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.0004852/0.3598, allocations: 458.3 kB / 0.4991 GB, free: 28.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3599, allocations: 9.344 kB / 0.4991 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008832/0.3607, allocations: 81.69 kB / 0.4992 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.361, allocations: 152.7 kB / 0.4993 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.361, allocations: 22.91 kB / 0.4993 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.3611, allocations: 24.59 kB / 0.4994 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.3614, allocations: 207.8 kB / 0.4996 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3614, allocations: 3.938 kB / 0.4996 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.3614, allocations: 11.16 kB / 0.4996 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3614, allocations: 6.375 kB / 0.4996 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.3616, allocations: 147 kB / 0.4997 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.3623, allocations: 474.5 kB / 0.5002 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.3627, allocations: 216.9 kB / 0.5004 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3628, allocations: 60.03 kB / 0.5004 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3628, allocations: 7.359 kB / 0.5004 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.3629, allocations: 42.05 kB / 0.5005 GB, free: 27.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.3629, allocations: 0 / 0.5005 GB, free: 27.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004061/0.3633, allocations: 218.8 kB / 0.5007 GB, free: 27.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3633, allocations: 54.56 kB / 0.5007 GB, free: 27.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.3634, allocations: 103.7 kB / 0.5008 GB, free: 27.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3634, allocations: 32.83 kB / 0.5009 GB, free: 27.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.3634, allocations: 130 kB / 0.501 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.3635, allocations: 95.69 kB / 0.5011 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.3635, allocations: 48.97 kB / 0.5011 GB, free: 26.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.3636, allocations: 325.1 kB / 0.5015 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.3637, allocations: 44.62 kB / 0.5015 GB, free: 26.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.3637, allocations: 46.16 kB / 0.5015 GB, free: 26.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3639, allocations: 116.5 kB / 0.5016 GB, free: 26.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3639, allocations: 7.156 kB / 0.5017 GB, free: 26.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002185/0.3641, allocations: 161.5 kB / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3641, allocations: 10.42 kB / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3641, allocations: 3.188 kB / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3642, allocations: 0 / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.3645, allocations: 109.2 kB / 0.5019 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3645, allocations: 2.969 kB / 0.5019 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.3646, allocations: 14.98 kB / 0.5019 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3646, allocations: 3.062 kB / 0.5019 GB, free: 26.33 MB / 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 6.976e-05/0.3646, allocations: 131.5 kB / 0.5021 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3647, allocations: 25.02 kB / 0.5021 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.3647, allocations: 21.62 kB / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3647, allocations: 3.188 kB / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3647, allocations: 0 / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3647, allocations: 0 / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3649, allocations: 192.9 kB / 0.5023 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3649, allocations: 0 / 0.5023 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.3652, allocations: 96.11 kB / 0.5024 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3652, allocations: 15.11 kB / 0.5024 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3652, allocations: 7.938 kB / 0.5024 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3652, allocations: 0 / 0.5024 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3652, allocations: 3.25 kB / 0.5024 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3655, allocations: 267 kB / 0.5027 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.3655, allocations: 15.03 kB / 0.5027 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3655, allocations: 11.19 kB / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.3656, allocations: 4 kB / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.3657, allocations: 16.48 kB / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3657, allocations: 14.47 kB / 0.5027 GB, free: 25.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.152e-05/0.3657, allocations: 78.22 kB / 0.5028 GB, free: 25.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3657, allocations: 0 / 0.5028 GB, free: 25.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.366, allocations: 48.11 kB / 0.5029 GB, free: 25.67 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 9.182e-05/0.3661, allocations: 103.5 kB / 0.503 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3663, allocations: 128.2 kB / 0.5031 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3663, allocations: 0 / 0.5031 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3665, allocations: 69.42 kB / 0.5031 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3667, allocations: 15.22 kB / 0.5032 GB, free: 25.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/0.3674, allocations: 486 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3675, allocations: 126.8 kB / 0.5037 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.152e-05/0.3676, allocations: 19.14 kB / 0.5038 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.3677, allocations: 17.97 kB / 0.5038 GB, free: 25.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3677, allocations: 3.938 kB / 0.5038 GB, free: 25.12 MB / 446.1 MB Notification: Performance of Templates: time 0.003729/0.3714, allocations: 0.7441 MB / 0.5045 GB, free: 24.99 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.085040548001416]