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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 109.5 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2171/0.2171, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4229, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003121/0.4261, allocations: 2.093 MB / 0.521 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.4279, allocations: 1.306 MB / 0.5222 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.428, allocations: 4.594 kB / 0.5222 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.313e-05/0.4281, allocations: 25.55 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.4282, allocations: 30.77 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.4287, allocations: 187.9 kB / 0.5225 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.4289, allocations: 178.6 kB / 0.5226 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.4292, allocations: 100.3 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.4293, allocations: 77.92 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.4294, allocations: 87.77 kB / 0.5229 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.4294, allocations: 14.91 kB / 0.5229 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.4297, allocations: 149.9 kB / 0.5231 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.4298, allocations: 46.3 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.4298, allocations: 94.42 kB / 0.5232 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.4303, allocations: 313 kB / 0.5235 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4303, allocations: 0 / 0.5235 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4303, allocations: 0 / 0.5235 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.4303, allocations: 0 / 0.5235 GB, free: 0.5742 MB / 382.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.0005024/0.4308, allocations: 0.5098 MB / 0.524 GB, free: 116 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4308, allocations: 14.23 kB / 0.524 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.4317, allocations: 70.86 kB / 0.5241 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4319, allocations: 186.4 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.4319, allocations: 23.22 kB / 0.5243 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.4319, allocations: 26.28 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.4323, allocations: 201.5 kB / 0.5245 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4323, allocations: 4 kB / 0.5245 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.4324, allocations: 11.22 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4324, allocations: 6.156 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.4326, allocations: 155.9 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008464/0.4335, allocations: 0.5848 MB / 0.5252 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.434, allocations: 229.6 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.4341, allocations: 68.72 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.4342, allocations: 8.297 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4342, allocations: 40.17 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.4342, allocations: 0 / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004348/0.4347, allocations: 216.8 kB / 0.5258 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4347, allocations: 54.81 kB / 0.5258 GB, free: 14.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.4348, allocations: 101.3 kB / 0.5259 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4348, allocations: 31.48 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4349, allocations: 137.6 kB / 0.5261 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.435, allocations: 95.45 kB / 0.5262 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.4351, allocations: 44.14 kB / 0.5262 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4352, allocations: 324.5 kB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.4353, allocations: 44.02 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.176e-05/0.4354, allocations: 43.98 kB / 0.5266 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4356, allocations: 114 kB / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4357, allocations: 0 / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002758/0.4359, allocations: 175.2 kB / 0.5269 GB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.436, allocations: 7.156 kB / 0.5269 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.436, allocations: 0 / 0.5269 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.436, allocations: 1.906 kB / 0.5269 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.4364, allocations: 97.84 kB / 0.527 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4364, allocations: 1.312 kB / 0.527 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.4365, allocations: 24.47 kB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4365, allocations: 5.125 kB / 0.527 GB, free: 14.12 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.0001057/0.4366, allocations: 125.8 kB / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.4366, allocations: 17.5 kB / 0.5271 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.4367, allocations: 21.92 kB / 0.5272 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4367, allocations: 3.156 kB / 0.5272 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.4367, allocations: 4.594 kB / 0.5272 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4367, allocations: 2.078 kB / 0.5272 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.437, allocations: 272.7 kB / 0.5274 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.437, allocations: 10.19 kB / 0.5274 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.4374, allocations: 105 kB / 0.5275 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4374, allocations: 2.078 kB / 0.5275 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4374, allocations: 1.531 kB / 0.5275 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.4374, allocations: 9.641 kB / 0.5276 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4374, allocations: 0.75 kB / 0.5276 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.4378, allocations: 275.5 kB / 0.5278 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.4378, allocations: 93.77 kB / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.4378, allocations: 1.375 kB / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.4379, allocations: 7.922 kB / 0.5279 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.438, allocations: 18.16 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.438, allocations: 4.125 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.438, allocations: 84.77 kB / 0.528 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4381, allocations: 4 kB / 0.528 GB, free: 13.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4383, allocations: 48.17 kB / 0.5281 GB, free: 13.3 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.0001094/0.4384, allocations: 100.4 kB / 0.5282 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.4387, allocations: 139.5 kB / 0.5283 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4388, allocations: 0 / 0.5283 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.4389, allocations: 73.88 kB / 0.5284 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4391, allocations: 14.44 kB / 0.5284 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.4399, allocations: 476.3 kB / 0.5288 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.4402, allocations: 0.7327 MB / 0.5296 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.073e-05/0.4403, allocations: 19.03 kB / 0.5296 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.4404, allocations: 16.22 kB / 0.5296 GB, free: 12.08 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4404, allocations: 1.312 kB / 0.5296 GB, free: 12.08 MB / 398.1 MB Notification: Performance of Templates: time 0.00349/0.4439, allocations: 0.9693 MB / 0.5305 GB, free: 11.59 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile (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) 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) Reference file matches