Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.27e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09772, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.4978, allocations: 75.62 MB / 444.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4981, allocations: 66.66 kB / 444.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005898/0.504, allocations: 1.283 MB / 446 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5041, allocations: 0 / 446 MB, free: 360 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.5041, allocations: 4 kB / 446 MB, free: 356 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006854/0.5048, allocations: 378.8 kB / 446.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5049, allocations: 8.031 kB / 446.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.5049, allocations: 4 kB / 446.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.5051, allocations: 178.9 kB / 446.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.5051, allocations: 7.812 kB / 446.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.5052, allocations: 4 kB / 446.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.5054, allocations: 61.91 kB / 446.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5054, allocations: 0 / 446.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5054, allocations: 0 / 446.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5054, allocations: 0 / 446.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.5056, allocations: 35.44 kB / 446.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.5061, allocations: 319.5 kB / 447 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.5063, allocations: 58.17 kB / 447.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.5064, allocations: 25.36 kB / 447.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.5065, allocations: 0 / 447.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.5065, allocations: 30.56 kB / 447.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.5065, allocations: 4 kB / 447.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002561/0.5068, allocations: 68.38 kB / 447.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5068, allocations: 51.41 kB / 447.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.507, allocations: 104.8 kB / 447.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.507, allocations: 25.7 kB / 447.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.5071, allocations: 162.3 kB / 447.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.5072, allocations: 11.81 kB / 447.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.5072, allocations: 3.938 kB / 447.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5073, allocations: 318.8 kB / 447.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.5074, allocations: 15.88 kB / 447.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.5075, allocations: 15.75 kB / 447.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.5075, allocations: 11.88 kB / 447.9 MB, free: 14.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5075, allocations: 0 / 447.9 MB, free: 14.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.5077, allocations: 61 kB / 448 MB, free: 14.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5078, allocations: 8 kB / 448 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5078, allocations: 0 / 448 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5078, allocations: 0.6562 kB / 448 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.5081, allocations: 23.98 kB / 448 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.5081, allocations: 3.984 kB / 448 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5083, allocations: 27.67 kB / 448 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.5083, allocations: 4.625 kB / 448 MB, free: 14.29 MB / 330.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.035e-05/0.5084, allocations: 104.9 kB / 448.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.5085, allocations: 11.84 kB / 448.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.5087, allocations: 85.77 kB / 448.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.5088, allocations: 4 kB / 448.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5088, allocations: 0 / 448.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5088, allocations: 384 / 448.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.5091, allocations: 189.2 kB / 448.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5091, allocations: 4 kB / 448.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.5093, allocations: 28.17 kB / 448.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5094, allocations: 3.938 kB / 448.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5094, allocations: 8 kB / 448.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5094, allocations: 0 / 448.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5094, allocations: 80 / 448.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.5097, allocations: 178.7 kB / 448.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.5098, allocations: 84.97 kB / 448.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.5098, allocations: 3.812 kB / 448.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.51, allocations: 19.98 kB / 448.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.5101, allocations: 7.984 kB / 448.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5101, allocations: 0 / 448.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.5102, allocations: 87.22 kB / 448.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5102, allocations: 0 / 448.8 MB, free: 13.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.5105, allocations: 19.5 kB / 448.9 MB, free: 13.42 MB / 330.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001935/0.5107, allocations: 111.2 kB / 449 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.5109, allocations: 39.44 kB / 449 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5109, allocations: 0 / 449 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5111, allocations: 27.81 kB / 449 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.5113, allocations: 3.938 kB / 449 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.5117, allocations: 127.2 kB / 449.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.512, allocations: 0.6926 MB / 449.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.5121, allocations: 11.44 kB / 449.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5121, allocations: 0 / 449.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Templates: time 0.003436/0.5156, allocations: 0.9553 MB / 450.8 MB, free: 11.44 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches