Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3966, allocations: 50.55 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003098/0.3998, allocations: 1.511 MB / 410.7 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4009, allocations: 0.5375 MB / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.401, allocations: 0 / 411.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.4012, allocations: 15.92 kB / 411.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.504e-05/0.4013, allocations: 7.875 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.4015, allocations: 43.89 kB / 411.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.4016, allocations: 55.78 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.4018, allocations: 15.98 kB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.402, allocations: 35.91 kB / 411.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.4021, allocations: 31.91 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.4021, allocations: 8 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.4022, allocations: 15.94 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.4022, allocations: 15.92 kB / 411.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.4023, allocations: 23.88 kB / 411.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.4025, allocations: 67.78 kB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4025, allocations: 3.938 kB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4025, allocations: 0 / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4025, allocations: 0 / 411.6 MB, free: 15.19 MB / 334.1 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.0007906/0.4033, allocations: 387.1 kB / 412 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4033, allocations: 8.031 kB / 412 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.4034, allocations: 4.938 kB / 412 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4036, allocations: 177.4 kB / 412.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4036, allocations: 4.375 kB / 412.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.4036, allocations: 4.375 kB / 412.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.4039, allocations: 89.95 kB / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4039, allocations: 0 / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.404, allocations: 0 / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.404, allocations: 4 kB / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.4043, allocations: 91.78 kB / 412.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.4048, allocations: 304.7 kB / 412.6 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.4051, allocations: 74.56 kB / 412.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.4052, allocations: 52.92 kB / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4053, allocations: 0 / 412.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4053, allocations: 34.56 kB / 412.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4053, allocations: 0 / 412.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005903/0.4059, allocations: 149.6 kB / 413 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4059, allocations: 55.34 kB / 413 MB, free: 13.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.406, allocations: 114.1 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4061, allocations: 25.7 kB / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.4061, allocations: 95.98 kB / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.4062, allocations: 15.89 kB / 413.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.4062, allocations: 21.66 kB / 413.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4063, allocations: 318.8 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.4065, allocations: 39.95 kB / 413.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4066, allocations: 35.97 kB / 413.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.4069, allocations: 85.16 kB / 413.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4069, allocations: 0 / 413.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000318/0.4072, allocations: 121.5 kB / 413.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4073, allocations: 4 kB / 413.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.4073, allocations: 0 / 413.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4073, allocations: 0 / 413.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.4074, allocations: 23.98 kB / 413.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4075, allocations: 0 / 413.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.709e-05/0.4075, allocations: 7.984 kB / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4076, allocations: 7.984 kB / 413.9 MB, free: 12.66 MB / 334.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 (5): * Single equations (assignments): 5 * 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 8.382e-05/0.4077, allocations: 121.7 kB / 414 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.4077, allocations: 7.906 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.4081, allocations: 129.5 kB / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4081, allocations: 0 / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4081, allocations: 0 / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.4081, allocations: 3.984 kB / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.4083, allocations: 197.5 kB / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4083, allocations: 0 / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4084, allocations: 23.92 kB / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4084, allocations: 3.984 kB / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4085, allocations: 0 / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4085, allocations: 0 / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4085, allocations: 0 / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.4089, allocations: 223.3 kB / 414.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4089, allocations: 81.09 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4089, allocations: 7.938 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4091, allocations: 7.984 kB / 414.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.4091, allocations: 11.98 kB / 414.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.4091, allocations: 4 kB / 414.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.4092, allocations: 91.22 kB / 414.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4092, allocations: 0 / 414.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.4094, allocations: 15.94 kB / 414.8 MB, free: 11.64 MB / 334.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 (7): * Single equations (assignments): 7 * 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.0001741/0.4096, allocations: 103.2 kB / 414.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.41, allocations: 91.97 kB / 415 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.41, allocations: 0 / 415 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.4102, allocations: 51.89 kB / 415.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4105, allocations: 8 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.4109, allocations: 162.1 kB / 415.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.4112, allocations: 0.6924 MB / 415.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.4112, allocations: 0 / 415.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.4113, allocations: 11.44 kB / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4113, allocations: 0 / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Templates: time 0.003449/0.4148, allocations: 0.9215 MB / 416.8 MB, free: 9.555 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches