Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00129/0.00129, allocations: 187 kB / 17.91 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009258/0.0009258, allocations: 109.2 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007848/0.0007848, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1911, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002345/0.1935, allocations: 1.549 MB / 375.4 MB, free: 44.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.1942, allocations: 0.5456 MB / 375.9 MB, free: 44.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.1943, allocations: 1.375 kB / 375.9 MB, free: 44.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.593e-05/0.1944, allocations: 13.42 kB / 375.9 MB, free: 44.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.1944, allocations: 9.312 kB / 375.9 MB, free: 44.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.1946, allocations: 36.34 kB / 376 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.1946, allocations: 53.84 kB / 376 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.1947, allocations: 12.25 kB / 376 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.1948, allocations: 21.39 kB / 376.1 MB, free: 44.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.1949, allocations: 36.17 kB / 376.1 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1949, allocations: 3.531 kB / 376.1 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.195, allocations: 13.97 kB / 376.1 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.195, allocations: 17.42 kB / 376.1 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.195, allocations: 29.3 kB / 376.1 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1951, allocations: 64.19 kB / 376.2 MB, free: 43.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1952, allocations: 0 / 376.2 MB, free: 43.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1952, allocations: 0 / 376.2 MB, free: 43.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1952, allocations: 1 kB / 376.2 MB, free: 43.97 MB / 298.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.0004882/0.1957, allocations: 384.1 kB / 376.6 MB, free: 43.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1957, allocations: 12.69 kB / 376.6 MB, free: 43.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1957, allocations: 8.531 kB / 376.6 MB, free: 43.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.738e-05/0.1958, allocations: 170.6 kB / 376.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1958, allocations: 2.938 kB / 376.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1959, allocations: 2.812 kB / 376.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.1961, allocations: 94.28 kB / 376.9 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1961, allocations: 0 / 376.9 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1962, allocations: 5 kB / 376.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1962, allocations: 1.031 kB / 376.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1965, allocations: 80.17 kB / 377 MB, free: 43.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.1968, allocations: 311.5 kB / 377.3 MB, free: 42.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.197, allocations: 75.16 kB / 377.3 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1972, allocations: 47.09 kB / 377.4 MB, free: 42.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1972, allocations: 0 / 377.4 MB, free: 42.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.1972, allocations: 35.84 kB / 377.4 MB, free: 42.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.1972, allocations: 3.938 kB / 377.4 MB, free: 42.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005106/0.1977, allocations: 153.1 kB / 377.6 MB, free: 42.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.1978, allocations: 52.56 kB / 377.6 MB, free: 42.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.1978, allocations: 112.9 kB / 377.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/0.1978, allocations: 25.7 kB / 377.8 MB, free: 42.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.1979, allocations: 98.34 kB / 377.9 MB, free: 42.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.1979, allocations: 14.34 kB / 377.9 MB, free: 42.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1979, allocations: 17.09 kB / 377.9 MB, free: 42.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.198, allocations: 321 kB / 378.2 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1981, allocations: 39.81 kB / 378.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1983, allocations: 35.58 kB / 378.3 MB, free: 42.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1985, allocations: 89.5 kB / 378.4 MB, free: 41.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1986, allocations: 0 / 378.4 MB, free: 41.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003151/0.1989, allocations: 112.9 kB / 378.5 MB, free: 41.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1989, allocations: 4.781 kB / 378.5 MB, free: 41.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1989, allocations: 5.375 kB / 378.5 MB, free: 41.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1989, allocations: 0 / 378.5 MB, free: 41.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.199, allocations: 21.44 kB / 378.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1991, allocations: 0 / 378.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.1991, allocations: 11.77 kB / 378.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1992, allocations: 4.906 kB / 378.5 MB, free: 41.89 MB / 298.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 () * 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 4.534e-05/0.1992, allocations: 120 kB / 378.6 MB, free: 41.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.1992, allocations: 10.03 kB / 378.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.1996, allocations: 129.3 kB / 378.8 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1996, allocations: 1.156 kB / 378.8 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1996, allocations: 0 / 378.8 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1996, allocations: 0.9062 kB / 378.8 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1998, allocations: 191.2 kB / 379 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1998, allocations: 1.281 kB / 379 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1999, allocations: 27.31 kB / 379 MB, free: 41.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1999, allocations: 0 / 379 MB, free: 41.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1999, allocations: 5.219 kB / 379 MB, free: 41.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1999, allocations: 4.125 kB / 379 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1999, allocations: 1.094 kB / 379 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.2005, allocations: 0.8099 MB / 379.8 MB, free: 40.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.2005, allocations: 83.36 kB / 379.9 MB, free: 40.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2006, allocations: 13.17 kB / 379.9 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2007, allocations: 10.67 kB / 379.9 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.2007, allocations: 2.625 kB / 379.9 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.2007, allocations: 9.359 kB / 379.9 MB, free: 40.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.572e-05/0.2008, allocations: 91.41 kB / 380 MB, free: 40.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2008, allocations: 0 / 380 MB, free: 40.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.2011, allocations: 8.938 kB / 380 MB, free: 40.45 MB / 298.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 () * 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 9.765e-05/0.2012, allocations: 101.7 kB / 380.1 MB, free: 40.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.2015, allocations: 88.58 kB / 380.2 MB, free: 40.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2015, allocations: 1.25 kB / 380.2 MB, free: 40.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2017, allocations: 51.53 kB / 380.3 MB, free: 40.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.2019, allocations: 7.438 kB / 380.3 MB, free: 40.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.2023, allocations: 307.8 kB / 380.6 MB, free: 39.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2024, allocations: 0.6887 MB / 381.3 MB, free: 39.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.2024, allocations: 3.062 kB / 381.3 MB, free: 39.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.2025, allocations: 13.19 kB / 381.3 MB, free: 39.28 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2025, allocations: 1.312 kB / 381.3 MB, free: 39.28 MB / 298.7 MB Notification: Performance of Templates: time 0.002484/0.205, allocations: 0.7935 MB / 382.1 MB, free: 38.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches