Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 213.9 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|ramp.y|oLine1.p2.v|oLine2.p2.v|oLine3.p2.v|oLine4.p2.v|tLine1.p2.v|tLine2.p2.v|tLine3.p2.v|tLine4.p2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|ramp.y|oLine1.p2.v|oLine2.p2.v|oLine3.p2.v|oLine4.p2.v|tLine1.p2.v|tLine2.p2.v|tLine3.p2.v|tLine4.p2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 47.92 kB / 378.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2571, allocations: 53.35 MB / 431.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.00812/0.2652, allocations: 6.736 MB / 438.4 MB, free: 132 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.269, allocations: 1.718 MB / 440.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005736/0.2695, allocations: 27.88 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.2703, allocations: 254 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.2716, allocations: 0.5199 MB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.2725, allocations: 455.3 kB / 441.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007986/0.2805, allocations: 7.783 MB / 449.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.283, allocations: 1.577 MB / 450.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.2873, allocations: 2.797 MB / 453.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00525/0.2925, allocations: 2.892 MB / 456.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.2937, allocations: 0.6602 MB / 457.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.2951, allocations: 0.6602 MB / 457.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.2969, allocations: 1.597 MB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004923/0.3018, allocations: 2.949 MB / 462.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009209/0.311, allocations: 8.236 MB / 470.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.311, allocations: 4 kB / 470.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.311, allocations: 0 / 470.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002846/0.3113, allocations: 0 / 470.5 MB, free: 15.85 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.01511/0.3264, allocations: 5.957 MB / 476.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3265, allocations: 8.031 kB / 476.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.3276, allocations: 0.5446 MB / 477 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006132/0.3337, allocations: 2.693 MB / 479.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.334, allocations: 316.5 kB / 480 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.3352, allocations: 440.2 kB / 480.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.3485, allocations: 6.307 MB / 486.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.631e-05/0.3486, allocations: 3.984 kB / 486.8 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004757/0.3491, allocations: 175.9 kB / 486.9 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/0.3493, allocations: 204.4 kB / 487.1 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.3597, allocations: 5.549 MB / 492.7 MB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.3975, allocations: 18.52 MB / 0.4992 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/0.4051, allocations: 4.337 MB / 0.5035 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005003/0.4101, allocations: 3.346 MB / 0.5067 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.4103, allocations: 46.8 kB / 0.5068 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.4104, allocations: 81.88 kB / 0.5069 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 5.911e-06/0.4104, allocations: 0 / 0.5069 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01126/0.4217, allocations: 5.92 MB / 0.5126 GB, free: 8.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.4219, allocations: 299.8 kB / 0.5129 GB, free: 8.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005937/0.4278, allocations: 3.201 MB / 0.516 GB, free: 5.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008582/0.4287, allocations: 105.7 kB / 0.5161 GB, free: 4.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.4303, allocations: 1.711 MB / 0.5178 GB, free: 3.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001712/0.432, allocations: 1.321 MB / 0.5191 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.4332, allocations: 0.6459 MB / 0.5197 GB, free: 1.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4334, allocations: 313 kB / 0.52 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/0.4368, allocations: 2.127 MB / 0.5221 GB, free: 14.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/0.4405, allocations: 2.455 MB / 0.5245 GB, free: 12.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/0.4585, allocations: 8.937 MB / 0.5332 GB, free: 3.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.4585, allocations: 4 kB / 0.5332 GB, free: 3.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2658/0.7243, allocations: 5.593 MB / 0.5387 GB, free: 97.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.7244, allocations: 6.391 kB / 0.5387 GB, free: 97.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.7244, allocations: 4.906 kB / 0.5387 GB, free: 97.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009993/0.7254, allocations: 330.3 kB / 0.539 GB, free: 97.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/0.7291, allocations: 0.9149 MB / 0.5399 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.7348, allocations: 7.427 MB / 0.5472 GB, free: 91.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.7378, allocations: 406.5 kB / 0.5476 GB, free: 91.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.738, allocations: 107.6 kB / 0.5477 GB, free: 91.84 MB / 446.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: oLine1.i[8] = 0.0 oLine2.i[8] = 0.0 oLine3.i[8] = 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 (453): * Single equations (assignments): 449 * 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,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002471/0.7405, allocations: 1.412 MB / 0.549 GB, free: 91.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000645/0.7411, allocations: 352.8 kB / 0.5494 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007883/0.7419, allocations: 448.1 kB / 0.5498 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.7419, allocations: 38.91 kB / 0.5498 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.919e-05/0.742, allocations: 6.203 kB / 0.5499 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.742, allocations: 15.05 kB / 0.5499 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.756, allocations: 12.05 MB / 0.5616 GB, free: 85.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.756, allocations: 12 kB / 0.5616 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/0.7591, allocations: 0.8099 MB / 0.5624 GB, free: 84.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006224/0.7597, allocations: 289.4 kB / 0.5627 GB, free: 84.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/0.7599, allocations: 127.9 kB / 0.5628 GB, free: 84.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.7649, allocations: 10.31 MB / 0.5729 GB, free: 73.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.7649, allocations: 15.94 kB / 0.5729 GB, free: 73.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/0.7726, allocations: 7.145 MB / 0.5799 GB, free: 65.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7739, allocations: 0.4957 MB / 0.5804 GB, free: 65.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/0.7743, allocations: 135.1 kB / 0.5805 GB, free: 65.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/0.7769, allocations: 407.6 kB / 0.5809 GB, free: 64.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/0.7773, allocations: 297.5 kB / 0.5812 GB, free: 64.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.7775, allocations: 124 kB / 0.5813 GB, free: 64.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002485/0.78, allocations: 2.275 MB / 0.5835 GB, free: 62.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.78, allocations: 3.938 kB / 0.5835 GB, free: 62.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002737/0.7827, allocations: 1.336 MB / 0.5848 GB, free: 60.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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.L[8].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[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.L[8].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[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.L[8].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[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 (342): * Single equations (assignments): 335 * 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,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003924/0.7831, allocations: 289.5 kB / 0.5851 GB, free: 60.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005634/0.7887, allocations: 4.947 MB / 0.5899 GB, free: 55.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.7887, allocations: 10.66 kB / 0.5899 GB, free: 55.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003256/0.792, allocations: 3.243 MB / 0.5931 GB, free: 52.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/0.7953, allocations: 0.8018 MB / 0.5939 GB, free: 51.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.8126, allocations: 12.7 MB / 0.6063 GB, free: 38.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/0.8154, allocations: 3.218 MB / 0.6094 GB, free: 35.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003228/0.8186, allocations: 1.289 MB / 0.6107 GB, free: 34.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009588/0.8196, allocations: 251.4 kB / 0.6109 GB, free: 33.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.8196, allocations: 0 / 0.6109 GB, free: 33.81 MB / 446.1 MB Notification: Performance of Templates: time 0.08959/0.9092, allocations: 56.44 MB / 0.6661 GB, free: 10.02 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLineTrunks/CompareLineTrunks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.151288670022041]