Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 176.4 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.03971/0.03971, allocations: 8.919 MB / 25.1 MB, free: 3.711 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.7 MB / 253.7 MB, free: 5.227 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008071/0.000807, allocations: 99.39 kB / 307 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 8 kB / 370.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2738, allocations: 52.54 MB / 422.8 MB, free: 47.96 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002301/0.2761, allocations: 1.663 MB / 424.5 MB, free: 46.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000335/0.2765, allocations: 165.8 kB / 424.7 MB, free: 46.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.2766, allocations: 3.312 kB / 424.7 MB, free: 46.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2767, allocations: 20.34 kB / 424.7 MB, free: 46.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.2769, allocations: 65.52 kB / 424.7 MB, free: 46.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.2771, allocations: 29.58 kB / 424.8 MB, free: 46.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.2776, allocations: 481.2 kB / 425.2 MB, free: 46.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.2779, allocations: 249.1 kB / 425.5 MB, free: 46.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2781, allocations: 122.2 kB / 425.6 MB, free: 46.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.2783, allocations: 155.5 kB / 425.8 MB, free: 46.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.2783, allocations: 17.97 kB / 425.8 MB, free: 46.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.2784, allocations: 17.19 kB / 425.8 MB, free: 46.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.2785, allocations: 56.66 kB / 425.8 MB, free: 46.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.2787, allocations: 204.8 kB / 426 MB, free: 45.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.2793, allocations: 0.5113 MB / 426.6 MB, free: 45.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2793, allocations: 1.641 kB / 426.6 MB, free: 45.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2793, allocations: 0 / 426.6 MB, free: 45.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2793, allocations: 0 / 426.6 MB, free: 45.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008687/0.2802, allocations: 0.5895 MB / 427.1 MB, free: 45.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2802, allocations: 8.938 kB / 427.2 MB, free: 45.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.2803, allocations: 38.34 kB / 427.2 MB, free: 45.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.2806, allocations: 304.8 kB / 427.5 MB, free: 45.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2807, allocations: 21.5 kB / 427.5 MB, free: 45.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.2807, allocations: 27.69 kB / 427.5 MB, free: 45.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.2814, allocations: 391.8 kB / 427.9 MB, free: 44.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2814, allocations: 1.562 kB / 427.9 MB, free: 44.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.2815, allocations: 18.69 kB / 427.9 MB, free: 44.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.2815, allocations: 12.41 kB / 428 MB, free: 44.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.2821, allocations: 362.3 kB / 428.3 MB, free: 44.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.2836, allocations: 1.436 MB / 429.7 MB, free: 43.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.2843, allocations: 383.3 kB / 430.1 MB, free: 43.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.2846, allocations: 206.5 kB / 430.3 MB, free: 43.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2846, allocations: 2.75 kB / 430.3 MB, free: 43.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2846, allocations: 36.69 kB / 430.4 MB, free: 43.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.2846, allocations: 0 / 430.4 MB, free: 43.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001495/0.2861, allocations: 0.8682 MB / 431.2 MB, free: 42.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2862, allocations: 57.34 kB / 431.3 MB, free: 42.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2864, allocations: 212.9 kB / 431.5 MB, free: 42.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2864, allocations: 30.77 kB / 431.5 MB, free: 42.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.2865, allocations: 168.8 kB / 431.7 MB, free: 42.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.2866, allocations: 88.59 kB / 431.8 MB, free: 42.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/0.2866, allocations: 1.281 kB / 431.8 MB, free: 42.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.2866, allocations: 329.5 kB / 432.1 MB, free: 42.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.2868, allocations: 117.4 kB / 432.2 MB, free: 42.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.287, allocations: 123.5 kB / 432.3 MB, free: 42.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.2874, allocations: 277.4 kB / 432.6 MB, free: 41.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2874, allocations: 0 / 432.6 MB, free: 41.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006559/0.2881, allocations: 446.6 kB / 433 MB, free: 41.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2881, allocations: 4.031 kB / 433 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2881, allocations: 1.406 kB / 433 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.2885, allocations: 128.4 kB / 433.2 MB, free: 41.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2887, allocations: 46.53 kB / 433.2 MB, free: 41.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.2915, allocations: 4.691 MB / 437.9 MB, free: 37.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.2917, allocations: 41.52 kB / 437.9 MB, free: 37.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2918, allocations: 8.094 kB / 438 MB, free: 37.32 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.292, allocations: 208.8 kB / 438.2 MB, free: 37.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.292, allocations: 17.73 kB / 438.2 MB, free: 37.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.2921, allocations: 32.5 kB / 438.2 MB, free: 37.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2921, allocations: 2.312 kB / 438.2 MB, free: 37.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.2921, allocations: 3.109 kB / 438.2 MB, free: 37.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2921, allocations: 4.562 kB / 438.2 MB, free: 37.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.2926, allocations: 430.1 kB / 438.6 MB, free: 36.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2926, allocations: 0.9844 kB / 438.6 MB, free: 36.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2928, allocations: 39.34 kB / 438.7 MB, free: 36.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.2931, allocations: 131.5 kB / 438.8 MB, free: 36.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.2931, allocations: 13.95 kB / 438.8 MB, free: 36.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.2956, allocations: 4.704 MB / 443.5 MB, free: 32.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2956, allocations: 1.094 kB / 443.5 MB, free: 32.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.2965, allocations: 0.6652 MB / 444.2 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.2965, allocations: 99.92 kB / 444.3 MB, free: 31.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.2966, allocations: 11.31 kB / 444.3 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2967, allocations: 21.7 kB / 444.3 MB, free: 31.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.2968, allocations: 28.84 kB / 444.3 MB, free: 31.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2968, allocations: 7.75 kB / 444.4 MB, free: 31.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.2969, allocations: 158.8 kB / 444.5 MB, free: 31.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2969, allocations: 3.938 kB / 444.5 MB, free: 31.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005683/0.2975, allocations: 102.4 kB / 444.6 MB, free: 31.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.883e-05/0.2976, allocations: 112.3 kB / 444.7 MB, free: 31.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007695/0.2984, allocations: 0.6551 MB / 445.4 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2984, allocations: 0 / 445.4 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.2989, allocations: 0.5266 MB / 445.9 MB, free: 30.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2993, allocations: 46.27 kB / 445.9 MB, free: 30.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3005, allocations: 1.025 MB / 447 MB, free: 29.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3008, allocations: 0.8502 MB / 447.8 MB, free: 28.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3009, allocations: 48.09 kB / 447.9 MB, free: 28.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.301, allocations: 16.84 kB / 447.9 MB, free: 28.75 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.301, allocations: 4.875 kB / 447.9 MB, free: 28.74 MB / 330.7 MB Notification: Performance of Templates: time 0.006566/0.3076, allocations: 4.023 MB / 451.9 MB, free: 25.59 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)