Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001574/0.001574, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.001803/0.001803, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.581/1.581, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 34.28 MB / 295.5 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 443.2 MB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 66 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00293/0.3422, allocations: 2.048 MB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3444, allocations: 1.27 MB / 0.5005 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3446, allocations: 7.25 kB / 0.5005 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.951e-05/0.3446, allocations: 23.16 kB / 0.5005 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3448, allocations: 49.06 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.3453, allocations: 193.5 kB / 0.5007 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3455, allocations: 180.1 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.3457, allocations: 81.03 kB / 0.501 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.3458, allocations: 87.22 kB / 0.5011 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.3459, allocations: 84.48 kB / 0.5012 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3459, allocations: 15.91 kB / 0.5012 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.3461, allocations: 146.8 kB / 0.5013 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.3462, allocations: 41.86 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.3462, allocations: 83.97 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.3466, allocations: 320.3 kB / 0.5017 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3466, allocations: 0 / 0.5017 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3466, allocations: 0 / 0.5017 GB, free: 26.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3466, allocations: 0 / 0.5017 GB, free: 26.98 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.0004697/0.347, allocations: 464.3 kB / 0.5022 GB, free: 26.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.3471, allocations: 9.531 kB / 0.5022 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008841/0.3479, allocations: 74.61 kB / 0.5023 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3482, allocations: 163.9 kB / 0.5024 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3482, allocations: 21.56 kB / 0.5024 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3482, allocations: 24.16 kB / 0.5025 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.3485, allocations: 203.4 kB / 0.5027 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3485, allocations: 0 / 0.5027 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3485, allocations: 11.16 kB / 0.5027 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3485, allocations: 14.52 kB / 0.5027 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.3488, allocations: 145.8 kB / 0.5028 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.3494, allocations: 470.6 kB / 0.5033 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.3498, allocations: 220.4 kB / 0.5035 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3499, allocations: 64.05 kB / 0.5035 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3499, allocations: 3.422 kB / 0.5035 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.35, allocations: 38.02 kB / 0.5036 GB, free: 25.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.35, allocations: 0 / 0.5036 GB, free: 25.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.000377/0.3503, allocations: 218.1 kB / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.3504, allocations: 54.41 kB / 0.5038 GB, free: 25.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.3504, allocations: 114.2 kB / 0.5039 GB, free: 25.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3504, allocations: 29.7 kB / 0.504 GB, free: 25.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.3505, allocations: 136.4 kB / 0.5041 GB, free: 25.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.3505, allocations: 97.11 kB / 0.5042 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.3506, allocations: 43.16 kB / 0.5042 GB, free: 25.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.3506, allocations: 324.6 kB / 0.5046 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.3507, allocations: 39.53 kB / 0.5046 GB, free: 24.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.3508, allocations: 51.22 kB / 0.5046 GB, free: 24.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.351, allocations: 117.3 kB / 0.5047 GB, free: 24.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.351, allocations: 4 kB / 0.5048 GB, free: 24.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002392/0.3512, allocations: 165.7 kB / 0.5049 GB, free: 24.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3512, allocations: 9.844 kB / 0.5049 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3512, allocations: 0 / 0.5049 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3512, allocations: 6.812 kB / 0.5049 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.3516, allocations: 92.89 kB / 0.505 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3516, allocations: 4 kB / 0.505 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.154e-05/0.3516, allocations: 18.02 kB / 0.505 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3516, allocations: 10.47 kB / 0.505 GB, free: 24.75 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 7.356e-05/0.3517, allocations: 130.5 kB / 0.5052 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.3518, allocations: 17.56 kB / 0.5052 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.3518, allocations: 21.62 kB / 0.5052 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3518, allocations: 2.844 kB / 0.5052 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3518, allocations: 0 / 0.5052 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3518, allocations: 3.531 kB / 0.5052 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.352, allocations: 176.9 kB / 0.5054 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.352, allocations: 8 kB / 0.5054 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.3523, allocations: 101.7 kB / 0.5055 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3523, allocations: 3.156 kB / 0.5055 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3523, allocations: 7.938 kB / 0.5055 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3523, allocations: 3.031 kB / 0.5055 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3523, allocations: 0 / 0.5055 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3526, allocations: 276.2 kB / 0.5058 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.3526, allocations: 14.84 kB / 0.5058 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3526, allocations: 10.94 kB / 0.5058 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.3527, allocations: 4 kB / 0.5058 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3528, allocations: 20.25 kB / 0.5058 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.3528, allocations: 6.031 kB / 0.5058 GB, free: 24.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.631e-05/0.3528, allocations: 85.41 kB / 0.5059 GB, free: 24.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 3.938 kB / 0.5059 GB, free: 24.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.3531, allocations: 45.95 kB / 0.5059 GB, free: 24.09 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 7.387e-05/0.3531, allocations: 102.7 kB / 0.506 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3534, allocations: 124.3 kB / 0.5062 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3534, allocations: 0 / 0.5062 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.3535, allocations: 76.19 kB / 0.5062 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.3537, allocations: 11.06 kB / 0.5062 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.3543, allocations: 489.2 kB / 0.5067 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.344e-05/0.3544, allocations: 120 kB / 0.5068 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.3545, allocations: 26.5 kB / 0.5069 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.3545, allocations: 17.44 kB / 0.5069 GB, free: 23.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3545, allocations: 0 / 0.5069 GB, free: 23.54 MB / 446.1 MB Notification: Performance of Templates: time 0.00331/0.3578, allocations: 0.7496 MB / 0.5076 GB, free: 23.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.066936166025698]