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/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 3.2.3+maint.om/package.mo", uses=false) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 105.5 kB / 18.39 MB, free: 4.699 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.00171/0.00171, allocations: 183.1 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.07856, allocations: 46.61 MB / 375.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002554/0.08115, allocations: 1.492 MB / 377.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00087/0.08204, allocations: 0.5475 MB / 377.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.08211, allocations: 0 / 377.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.08225, allocations: 19.92 kB / 377.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.08233, allocations: 11.88 kB / 377.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.0825, allocations: 39.89 kB / 377.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.0826, allocations: 55.84 kB / 377.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.08271, allocations: 15.98 kB / 378 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.08284, allocations: 31.91 kB / 378 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.08292, allocations: 31.84 kB / 378 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.08294, allocations: 4 kB / 378 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.08302, allocations: 31.92 kB / 378.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.08304, allocations: 11.94 kB / 378.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.08308, allocations: 23.86 kB / 378.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.08324, allocations: 67.78 kB / 378.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.08325, allocations: 0 / 378.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.08326, allocations: 0 / 378.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.08327, allocations: 0 / 378.2 MB, free: 2.223 MB / 318.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.0006151/0.0839, allocations: 387.2 kB / 378.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.08394, allocations: 16.03 kB / 378.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.08398, allocations: 0.9375 kB / 378.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.0841, allocations: 176.2 kB / 378.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.08412, allocations: 4.375 kB / 378.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.08414, allocations: 4.375 kB / 378.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.08441, allocations: 89.89 kB / 378.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.08443, allocations: 4 kB / 378.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.08444, allocations: 0 / 378.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.08445, allocations: 4 kB / 378.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.08475, allocations: 79.86 kB / 378.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.08516, allocations: 316.6 kB / 379.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.08541, allocations: 78.56 kB / 379.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.08557, allocations: 40.95 kB / 379.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.08559, allocations: 0 / 379.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.08562, allocations: 34.56 kB / 379.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.08563, allocations: 0 / 379.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005217/0.08615, allocations: 145.6 kB / 379.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.0862, allocations: 55.41 kB / 379.6 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.08628, allocations: 113.8 kB / 379.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.0863, allocations: 25.7 kB / 379.7 MB, free: 496 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.08635, allocations: 96.03 kB / 379.8 MB, free: 396 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.08638, allocations: 15.81 kB / 379.8 MB, free: 380 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.08642, allocations: 21.7 kB / 379.8 MB, free: 352 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.08652, allocations: 318.8 kB / 380.1 MB, free: 24 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1605/0.247, allocations: 33.58 kB / 380.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2472, allocations: 40.55 kB / 380.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.2475, allocations: 80.45 kB / 380.3 MB, free: 13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2475, allocations: 0 / 380.3 MB, free: 13 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003605/0.2479, allocations: 120.8 kB / 380.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2479, allocations: 4.125 kB / 380.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2479, allocations: 1.375 kB / 380.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2479, allocations: 2.672 kB / 380.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2481, allocations: 19.12 kB / 380.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2481, allocations: 1.375 kB / 380.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.2482, allocations: 19.27 kB / 380.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2482, allocations: 1.281 kB / 380.5 MB, free: 12.97 MB / 318.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 6.708e-05/0.2483, allocations: 119.2 kB / 380.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.2483, allocations: 3.328 kB / 380.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.2487, allocations: 127.7 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2487, allocations: 4.75 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2487, allocations: 0.6094 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2487, allocations: 1.156 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2489, allocations: 189.9 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2489, allocations: 0.9375 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.249, allocations: 23.05 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.249, allocations: 1 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2491, allocations: 4.219 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2491, allocations: 0.8438 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2491, allocations: 0.5 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.2494, allocations: 224.1 kB / 381.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.2495, allocations: 86.83 kB / 381.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.2495, allocations: 7.047 kB / 381.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2496, allocations: 17.41 kB / 381.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2496, allocations: 6.469 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.2497, allocations: 4.719 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.606e-05/0.2497, allocations: 92.25 kB / 381.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2497, allocations: 0 / 381.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.2499, allocations: 15.53 kB / 381.4 MB, free: 12.33 MB / 318.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.0001083/0.2501, allocations: 106 kB / 381.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.2504, allocations: 83.02 kB / 381.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2504, allocations: 2.906 kB / 381.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.2506, allocations: 56.58 kB / 381.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2509, allocations: 6.953 kB / 381.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.2512, allocations: 182.1 kB / 381.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2513, allocations: 0.6865 MB / 382.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.2514, allocations: 20.36 kB / 382.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2514, allocations: 0 / 382.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of Templates: time 0.00279/0.2542, allocations: 0.9772 MB / 383.5 MB, free: 11.34 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches