Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001765, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008132/0.0008133, allocations: 99.67 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002472, allocations: 4 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3135, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002077/0.3157, allocations: 1.222 MB / 413.3 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3168, allocations: 0.7237 MB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.3169, allocations: 4 kB / 414 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.3171, allocations: 15.92 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3172, allocations: 14.36 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.3175, allocations: 27.98 kB / 414 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3176, allocations: 51.78 kB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3177, allocations: 27.95 kB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.318, allocations: 27.92 kB / 414.2 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.3181, allocations: 30.34 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3181, allocations: 0 / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.3182, allocations: 16 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.3182, allocations: 7.969 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.3183, allocations: 45.58 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.3184, allocations: 67.7 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3185, allocations: 2.938 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3185, allocations: 0 / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3185, allocations: 0 / 414.3 MB, free: 23.59 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.0007486/0.3192, allocations: 385 kB / 414.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3193, allocations: 8.031 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.3193, allocations: 8.844 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.3195, allocations: 176.2 kB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3195, allocations: 384 / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3195, allocations: 12.3 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3198, allocations: 97.95 kB / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3198, allocations: 0 / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3199, allocations: 0 / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3199, allocations: 4 kB / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.3202, allocations: 99.92 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.3206, allocations: 308.7 kB / 415.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.3209, allocations: 82.53 kB / 415.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.321, allocations: 60.94 kB / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.3211, allocations: 0 / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.3211, allocations: 42.47 kB / 415.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3211, allocations: 0 / 415.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.3217, allocations: 185.6 kB / 415.8 MB, free: 21.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3217, allocations: 51.41 kB / 415.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.3218, allocations: 109.8 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3218, allocations: 25.7 kB / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.3219, allocations: 96.03 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.3219, allocations: 19.73 kB / 416.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.3219, allocations: 0 / 416.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.322, allocations: 330.8 kB / 416.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3221, allocations: 39.97 kB / 416.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3222, allocations: 60.14 kB / 416.5 MB, free: 21.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.3225, allocations: 100.9 kB / 416.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3225, allocations: 0 / 416.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003002/0.3228, allocations: 137.5 kB / 416.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3228, allocations: 8 kB / 416.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3229, allocations: 0 / 416.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3229, allocations: 0 / 416.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.323, allocations: 23.98 kB / 416.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.323, allocations: 0 / 416.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.3231, allocations: 23.95 kB / 416.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3232, allocations: 4 kB / 416.8 MB, free: 20.93 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 6.88e-05/0.3232, allocations: 121.7 kB / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3233, allocations: 4 kB / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.3236, allocations: 157.5 kB / 417 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3237, allocations: 4 kB / 417 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3237, allocations: 0 / 417 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3237, allocations: 0 / 417 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.3238, allocations: 189.5 kB / 417.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3238, allocations: 0 / 417.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.324, allocations: 31.97 kB / 417.3 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.324, allocations: 0 / 417.3 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.324, allocations: 8.312 kB / 417.3 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.324, allocations: 0 / 417.3 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.324, allocations: 0 / 417.3 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.3244, allocations: 247.3 kB / 417.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.3244, allocations: 84.95 kB / 417.6 MB, free: 19.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3244, allocations: 4 kB / 417.6 MB, free: 19.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3246, allocations: 15.98 kB / 417.6 MB, free: 19.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.3246, allocations: 11.98 kB / 417.6 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3246, allocations: 0 / 417.6 MB, free: 19.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.3247, allocations: 87.28 kB / 417.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3247, allocations: 0 / 417.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.3249, allocations: 19.92 kB / 417.7 MB, free: 19.86 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 0.0001293/0.325, allocations: 107.2 kB / 417.8 MB, free: 19.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.3254, allocations: 112 kB / 417.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3254, allocations: 0 / 417.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.3255, allocations: 59.95 kB / 418 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3258, allocations: 7.938 kB / 418 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.3262, allocations: 194.3 kB / 418.2 MB, free: 19.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3263, allocations: 0.6848 MB / 418.9 MB, free: 18.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.57e-05/0.3264, allocations: 3.984 kB / 418.9 MB, free: 18.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.3264, allocations: 15.44 kB / 418.9 MB, free: 18.62 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.3264, allocations: 0 / 418.9 MB, free: 18.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003464/0.3299, allocations: 0.7655 MB / 419.7 MB, free: 17.86 MB / 298.7 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","../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches