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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.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.2446/0.2446, allocations: 44.92 MB / 353.5 MB, free: 11.84 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.88 kB / 497.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.408, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004159/0.4122, allocations: 2.129 MB / 0.5509 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.415, allocations: 1.333 MB / 0.5522 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.4152, allocations: 3.438 kB / 0.5522 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.009e-05/0.4153, allocations: 19.73 kB / 0.5522 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.4155, allocations: 44.25 kB / 0.5523 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.4161, allocations: 183.2 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.4164, allocations: 179 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.4166, allocations: 80.59 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.4168, allocations: 80.7 kB / 0.5528 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.4169, allocations: 87.55 kB / 0.5529 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.4169, allocations: 16.34 kB / 0.5529 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.4173, allocations: 148.4 kB / 0.553 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.4174, allocations: 47.66 kB / 0.5531 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.4175, allocations: 91.33 kB / 0.5532 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.418, allocations: 322.6 kB / 0.5535 GB, free: 9.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.418, allocations: 5.125 kB / 0.5535 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.418, allocations: 0 / 0.5535 GB, free: 9.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.418, allocations: 0 / 0.5535 GB, free: 9.57 MB / 398.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.0007476/0.4188, allocations: 454.1 kB / 0.5539 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4188, allocations: 9.469 kB / 0.5539 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009441/0.4198, allocations: 74.45 kB / 0.554 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4199, allocations: 128.3 kB / 0.5541 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.42, allocations: 19.59 kB / 0.5541 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.42, allocations: 25.03 kB / 0.5541 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.4205, allocations: 208.4 kB / 0.5543 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4205, allocations: 3.938 kB / 0.5543 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.4205, allocations: 14.34 kB / 0.5544 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.4205, allocations: 6.562 kB / 0.5544 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.4209, allocations: 147.8 kB / 0.5545 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.4219, allocations: 0.5516 MB / 0.555 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.4225, allocations: 211.8 kB / 0.5552 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.4227, allocations: 64.73 kB / 0.5553 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.4227, allocations: 7.578 kB / 0.5553 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4227, allocations: 35.95 kB / 0.5553 GB, free: 8.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.784e-06/0.4227, allocations: 0 / 0.5553 GB, free: 8.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005363/0.4232, allocations: 230.7 kB / 0.5556 GB, free: 8.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4233, allocations: 54.47 kB / 0.5556 GB, free: 7.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.4234, allocations: 99.64 kB / 0.5557 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4234, allocations: 26.95 kB / 0.5557 GB, free: 7.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.4235, allocations: 136.8 kB / 0.5559 GB, free: 7.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.4236, allocations: 94.27 kB / 0.556 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.4237, allocations: 47.59 kB / 0.556 GB, free: 7.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4238, allocations: 321.4 kB / 0.5563 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4239, allocations: 40.31 kB / 0.5564 GB, free: 7.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.424, allocations: 41.61 kB / 0.5564 GB, free: 7.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.4242, allocations: 120.2 kB / 0.5565 GB, free: 7.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4242, allocations: 0 / 0.5565 GB, free: 7.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003087/0.4246, allocations: 175.9 kB / 0.5567 GB, free: 7.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4246, allocations: 5.281 kB / 0.5567 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4246, allocations: 0 / 0.5567 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4246, allocations: 1.219 kB / 0.5567 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.425, allocations: 99.38 kB / 0.5568 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.425, allocations: 1.094 kB / 0.5568 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.4251, allocations: 20.23 kB / 0.5568 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.4251, allocations: 8.656 kB / 0.5568 GB, free: 7.02 MB / 398.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.4252, allocations: 124.7 kB / 0.5569 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.4253, allocations: 21.28 kB / 0.5569 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.4253, allocations: 30.34 kB / 0.557 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4253, allocations: 3.344 kB / 0.557 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4254, allocations: 3.938 kB / 0.557 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4254, allocations: 3.984 kB / 0.557 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.4257, allocations: 242.8 kB / 0.5572 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4257, allocations: 7.938 kB / 0.5572 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.4261, allocations: 97.09 kB / 0.5573 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4261, allocations: 0 / 0.5573 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.4261, allocations: 8 kB / 0.5573 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4261, allocations: 0 / 0.5573 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4261, allocations: 0 / 0.5573 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.4264, allocations: 275.6 kB / 0.5576 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.4265, allocations: 19.78 kB / 0.5576 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.4265, allocations: 8 kB / 0.5576 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.4266, allocations: 11.98 kB / 0.5576 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.4266, allocations: 11.97 kB / 0.5576 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.4267, allocations: 8 kB / 0.5576 GB, free: 6.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.984e-05/0.4267, allocations: 79.28 kB / 0.5577 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4267, allocations: 4 kB / 0.5577 GB, free: 6.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.427, allocations: 51.83 kB / 0.5578 GB, free: 6.023 MB / 398.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.0001246/0.4271, allocations: 99.19 kB / 0.5579 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.4274, allocations: 128.3 kB / 0.558 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4274, allocations: 0 / 0.558 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4276, allocations: 72.36 kB / 0.5581 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.4279, allocations: 15.94 kB / 0.5581 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.4288, allocations: 481.2 kB / 0.5585 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.4293, allocations: 0.7319 MB / 0.5592 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.989e-05/0.4294, allocations: 17.41 kB / 0.5593 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.4295, allocations: 15.44 kB / 0.5593 GB, free: 4.418 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4295, allocations: 4 kB / 0.5593 GB, free: 4.414 MB / 398.1 MB Notification: Performance of Templates: time 0.004415/0.4339, allocations: 1.071 MB / 0.5603 GB, free: 3.344 MB / 398.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/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.594315059483051]