Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.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.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 192.1 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.709/1.709, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008071/0.0008069, allocations: 90.69 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003079, allocations: 8 kB / 360.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2809, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004956/0.2859, allocations: 5.74 MB / 417.8 MB, free: 20.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.2896, allocations: 1.889 MB / 419.7 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000705/0.2903, allocations: 23.94 kB / 419.7 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.2909, allocations: 198.6 kB / 419.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2919, allocations: 421.3 kB / 420.3 MB, free: 17.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.2927, allocations: 399.5 kB / 420.7 MB, free: 17.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004781/0.2975, allocations: 6.955 MB / 427.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.3001, allocations: 2.465 MB / 430.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.3031, allocations: 1.875 MB / 432 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.3067, allocations: 2.185 MB / 434.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000782/0.3075, allocations: 280 kB / 434.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3086, allocations: 284 kB / 434.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008569/0.3095, allocations: 1.027 MB / 435.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003413/0.3129, allocations: 2.396 MB / 438.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00851/0.3215, allocations: 7.436 MB / 445.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3215, allocations: 0 / 445.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3215, allocations: 0 / 445.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003645/0.3219, allocations: 4 kB / 445.6 MB, free: 8.109 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01485/0.3368, allocations: 4.98 MB / 450.6 MB, free: 3.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.886e-05/0.3369, allocations: 8.031 kB / 450.6 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.3411, allocations: 0.507 MB / 451.1 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007078/0.3482, allocations: 2.565 MB / 453.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.3487, allocations: 312.5 kB / 454 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.3502, allocations: 440.1 kB / 454.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.3668, allocations: 6.029 MB / 460.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.68e-05/0.367, allocations: 0 / 460.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006869/0.3677, allocations: 172 kB / 460.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-05/0.3678, allocations: 96 kB / 460.7 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.3808, allocations: 5.36 MB / 466.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04768/0.4286, allocations: 18.23 MB / 484.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006974/0.4356, allocations: 3.695 MB / 488 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/0.4403, allocations: 3.036 MB / 491 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.4404, allocations: 30.38 kB / 491 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4406, allocations: 89.44 kB / 491.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=301): time 7.184e-06/0.4406, allocations: 0 / 491.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=304): time 0.01906/0.4597, allocations: 10.01 MB / 0.4894 GB, free: 15.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.4599, allocations: 299.4 kB / 0.4897 GB, free: 15.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.4658, allocations: 3.189 MB / 0.4928 GB, free: 12.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009734/0.4668, allocations: 93.7 kB / 0.4929 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.4684, allocations: 1.675 MB / 0.4945 GB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001823/0.4702, allocations: 1.082 MB / 0.4956 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.4706, allocations: 68 kB / 0.4956 GB, free: 9.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003656/0.471, allocations: 445 kB / 0.4961 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003525/0.4745, allocations: 2.001 MB / 0.498 GB, free: 6.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/0.4782, allocations: 2.301 MB / 0.5003 GB, free: 4.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3361/0.8144, allocations: 8.573 MB / 0.5086 GB, free: 85.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.8144, allocations: 0 / 0.5086 GB, free: 85.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01217/0.8266, allocations: 5.271 MB / 0.5138 GB, free: 84.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.8267, allocations: 5.625 kB / 0.5138 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.8267, allocations: 1.062 kB / 0.5138 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009806/0.8277, allocations: 349.3 kB / 0.5141 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.8311, allocations: 0.819 MB / 0.5149 GB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006053/0.8372, allocations: 7.3 MB / 0.5221 GB, free: 77.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/0.841, allocations: 167.9 kB / 0.5222 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005638/0.8416, allocations: 96.06 kB / 0.5223 GB, free: 77.66 MB / 378.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: oLine1.L[8].i = 0.0 oLine2.L[8].i = 0.0 oLine3.L[8].i = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (396): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003621/0.8453, allocations: 1.356 MB / 0.5236 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.8465, allocations: 318.8 kB / 0.5239 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/0.8474, allocations: 424.3 kB / 0.5243 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.8474, allocations: 27.34 kB / 0.5244 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-05/0.8475, allocations: 7.844 kB / 0.5244 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.8475, allocations: 13.97 kB / 0.5244 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.8635, allocations: 9.164 MB / 0.5333 GB, free: 68.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.8636, allocations: 4.094 kB / 0.5333 GB, free: 68.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/0.8667, allocations: 0.7229 MB / 0.534 GB, free: 67.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/0.8674, allocations: 281.8 kB / 0.5343 GB, free: 67.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.8677, allocations: 99.94 kB / 0.5344 GB, free: 67.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/0.8739, allocations: 10.3 MB / 0.5445 GB, free: 56.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.874, allocations: 7.969 kB / 0.5445 GB, free: 56.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008402/0.8824, allocations: 6.075 MB / 0.5504 GB, free: 50.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.8839, allocations: 465.2 kB / 0.5508 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004625/0.8844, allocations: 99.95 kB / 0.5509 GB, free: 49.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/0.8867, allocations: 427.6 kB / 0.5514 GB, free: 49.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.8872, allocations: 210 kB / 0.5516 GB, free: 49.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/0.8874, allocations: 87.98 kB / 0.5516 GB, free: 48.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002733/0.8901, allocations: 2.264 MB / 0.5538 GB, free: 46.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8901, allocations: 0 / 0.5538 GB, free: 46.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002563/0.8927, allocations: 1.031 MB / 0.5549 GB, free: 45.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[1].i,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[1].i,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[1].i,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].v) * 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 (285): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004333/0.8931, allocations: 260.9 kB / 0.5551 GB, free: 45.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00545/0.8986, allocations: 4.715 MB / 0.5597 GB, free: 40.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.8986, allocations: 6.562 kB / 0.5597 GB, free: 40.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.9013, allocations: 2.767 MB / 0.5624 GB, free: 37.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/0.9049, allocations: 0.7257 MB / 0.5631 GB, free: 36.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.921, allocations: 14.22 MB / 0.577 GB, free: 22.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.9234, allocations: 3.123 MB / 0.5801 GB, free: 19.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003388/0.9268, allocations: 1.229 MB / 0.5813 GB, free: 18.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/0.9275, allocations: 223.3 kB / 0.5815 GB, free: 18.14 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.9275, allocations: 0 / 0.5815 GB, free: 18.14 MB / 378.7 MB Notification: Performance of Templates: time 0.08255/1.01, allocations: 49.94 MB / 0.6302 GB, free: 340 kB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)