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.001402/0.001402, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00137/0.00137, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.466/1.466, allocations: 230.6 MB / 254.1 MB, free: 15.07 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.94 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1072, allocations: 53.33 MB / 426.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.2107/0.3178, allocations: 6.711 MB / 433.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.3206, allocations: 1.718 MB / 434.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004549/0.321, allocations: 23.16 kB / 434.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.3216, allocations: 257.9 kB / 435.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000903/0.3225, allocations: 0.513 MB / 435.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.3232, allocations: 440.1 kB / 436 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006622/0.3298, allocations: 7.814 MB / 443.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.3324, allocations: 2.187 MB / 446 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/0.3369, allocations: 2.794 MB / 448.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/0.3428, allocations: 2.897 MB / 451.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.3445, allocations: 0.6589 MB / 452.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.3471, allocations: 0.6573 MB / 453 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.3496, allocations: 1.597 MB / 454.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008858/0.3585, allocations: 2.946 MB / 457.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.3696, allocations: 8.232 MB / 465.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3696, allocations: 2.875 kB / 465.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3696, allocations: 0 / 465.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002708/0.3699, allocations: 0 / 465.8 MB, free: 7.473 MB / 366.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.01738/0.3872, allocations: 6.04 MB / 471.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3873, allocations: 8.031 kB / 471.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/0.3885, allocations: 0.5881 MB / 472.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3897, allocations: 0.5407 MB / 473 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004742/0.3944, allocations: 2.664 MB / 475.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.3947, allocations: 324.5 kB / 475.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007141/0.3954, allocations: 445 kB / 476.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.4087, allocations: 6.303 MB / 482.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-05/0.4088, allocations: 4 kB / 482.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005496/0.4094, allocations: 172 kB / 482.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.4096, allocations: 200.5 kB / 483.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.422, allocations: 5.553 MB / 488.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04231/0.4644, allocations: 18.61 MB / 0.4953 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007962/0.4723, allocations: 4.338 MB / 0.4996 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005171/0.4775, allocations: 3.346 MB / 0.5028 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.4776, allocations: 34.81 kB / 0.5029 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.159e-05/0.4777, allocations: 90.42 kB / 0.503 GB, free: 7.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=358): time 5.3e-06/0.4777, allocations: 4 kB / 0.503 GB, free: 7.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=358): time 0.0118/0.4895, allocations: 6.44 MB / 0.5092 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/0.4897, allocations: 303.8 kB / 0.5095 GB, free: 432 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005465/0.4952, allocations: 3.197 MB / 0.5127 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006555/0.4959, allocations: 105.7 kB / 0.5128 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.4973, allocations: 1.715 MB / 0.5144 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/0.4987, allocations: 1.321 MB / 0.5157 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.4998, allocations: 0.642 MB / 0.5164 GB, free: 9.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5, allocations: 309 kB / 0.5166 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/0.5034, allocations: 2.127 MB / 0.5187 GB, free: 6.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.5071, allocations: 2.46 MB / 0.5211 GB, free: 4.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/0.5243, allocations: 9.167 MB / 0.5301 GB, free: 11.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.5243, allocations: 2.312 kB / 0.5301 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.009773/0.5341, allocations: 5.603 MB / 0.5356 GB, free: 5.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.5341, allocations: 11.94 kB / 0.5356 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.5341, allocations: 0 / 0.5356 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.5352, allocations: 323.2 kB / 0.5359 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/0.5388, allocations: 0.909 MB / 0.5368 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007983/0.5468, allocations: 7.844 MB / 0.5444 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/0.5507, allocations: 409.2 kB / 0.5448 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000664/0.5513, allocations: 104 kB / 0.5449 GB, free: 11.46 MB / 462.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.003542/0.5549, allocations: 1.406 MB / 0.5463 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/0.5563, allocations: 353.9 kB / 0.5466 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.5575, allocations: 452.2 kB / 0.547 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.5576, allocations: 32 kB / 0.5471 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.313e-05/0.5576, allocations: 4 kB / 0.5471 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.5576, allocations: 19.94 kB / 0.5471 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.5769, allocations: 12 MB / 0.5588 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.577, allocations: 12 kB / 0.5588 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/0.5805, allocations: 0.8219 MB / 0.5596 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/0.5812, allocations: 273.8 kB / 0.5599 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/0.5815, allocations: 128.8 kB / 0.56 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009178/0.5906, allocations: 11.05 MB / 0.5708 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.998e-05/0.5907, allocations: 23.88 kB / 0.5708 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/0.6033, allocations: 7.139 MB / 0.5778 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.6051, allocations: 0.5606 MB / 0.5783 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007046/0.6058, allocations: 124 kB / 0.5785 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003162/0.609, allocations: 411.6 kB / 0.5789 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005229/0.6095, allocations: 293.5 kB / 0.5791 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002764/0.6098, allocations: 120 kB / 0.5792 GB, free: 6.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003576/0.6134, allocations: 2.279 MB / 0.5815 GB, free: 4.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6134, allocations: 0 / 0.5815 GB, free: 4.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004501/0.6179, allocations: 1.333 MB / 0.5828 GB, free: 2.977 MB / 494.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.01188/0.6298, allocations: 7.878 MB / 0.5905 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008783/0.6386, allocations: 4.949 MB / 0.5953 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.084e-05/0.6386, allocations: 6.562 kB / 0.5953 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005209/0.6438, allocations: 3.24 MB / 0.5985 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005075/0.6489, allocations: 0.8077 MB / 0.5993 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2883/0.9372, allocations: 38.16 MB / 0.6365 GB, free: 156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/0.9406, allocations: 3.217 MB / 0.6397 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003535/0.9442, allocations: 1.296 MB / 0.6409 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/0.9465, allocations: 1.6 MB / 0.6425 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.9465, allocations: 0 / 0.6425 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/1.075, allocations: 79.03 MB / 0.7197 GB, free: 85.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.89, allocations: 10.42 kB / 0.7197 GB, free: 85.86 MB / 0.5137 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks_fmu --startTime=0 --stopTime=0.004 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLineTrunks/CompareLineTrunks.csv","/var/lib/jenkins1/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: 20.489888641051948]