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.001377/0.001377, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001527/0.001527, allocations: 212 kB / 23.74 MB, free: 4.656 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001567/0.001567, allocations: 52 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.25, allocations: 53.37 MB / 431.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008125/0.2582, allocations: 6.727 MB / 437.9 MB, free: 216 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.2617, allocations: 1.719 MB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.2623, allocations: 27.88 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.263, allocations: 258 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.2642, allocations: 0.5238 MB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.2651, allocations: 447.3 kB / 440.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008479/0.2735, allocations: 7.786 MB / 448.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.2761, allocations: 1.569 MB / 450.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/0.2801, allocations: 2.789 MB / 453 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005166/0.2853, allocations: 2.907 MB / 455.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.287, allocations: 0.6562 MB / 456.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.289, allocations: 0.6602 MB / 457.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.291, allocations: 1.597 MB / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004805/0.2958, allocations: 2.945 MB / 461.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009003/0.3048, allocations: 8.243 MB / 470 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3048, allocations: 0 / 470 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3048, allocations: 0 / 470 MB, free: 15.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002434/0.3051, allocations: 0 / 470 MB, free: 15.93 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.01465/0.3197, allocations: 5.961 MB / 476 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3197, allocations: 12.03 kB / 476 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.3209, allocations: 0.5841 MB / 476.6 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.322, allocations: 0.5407 MB / 477.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006229/0.3282, allocations: 2.685 MB / 479.8 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.3285, allocations: 316.5 kB / 480.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.3296, allocations: 448.2 kB / 480.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.3424, allocations: 6.303 MB / 486.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.191e-05/0.3425, allocations: 0 / 486.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005581/0.343, allocations: 179.9 kB / 487 MB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/0.3433, allocations: 208.4 kB / 487.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.3552, allocations: 5.549 MB / 492.8 MB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03808/0.3932, allocations: 18.52 MB / 0.4993 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007454/0.4007, allocations: 4.337 MB / 0.5036 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005107/0.4058, allocations: 3.354 MB / 0.5068 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.4059, allocations: 34.81 kB / 0.5069 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.689e-05/0.406, allocations: 89.81 kB / 0.507 GB, free: 14.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 8.666e-06/0.4061, allocations: 7.922 kB / 0.507 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01073/0.4168, allocations: 5.908 MB / 0.5127 GB, free: 8.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/0.417, allocations: 299.8 kB / 0.513 GB, free: 7.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005353/0.4224, allocations: 3.205 MB / 0.5161 GB, free: 4.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004242/0.4228, allocations: 109.7 kB / 0.5162 GB, free: 4.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.4243, allocations: 1.719 MB / 0.5179 GB, free: 2.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.4255, allocations: 1.321 MB / 0.5192 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.4266, allocations: 0.642 MB / 0.5198 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4268, allocations: 309.1 kB / 0.5201 GB, free: 460 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.4301, allocations: 2.119 MB / 0.5222 GB, free: 14.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003512/0.4336, allocations: 2.459 MB / 0.5246 GB, free: 11.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/0.4495, allocations: 8.933 MB / 0.5333 GB, free: 2.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.4495, allocations: 0 / 0.5333 GB, free: 2.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2327/0.6822, allocations: 5.6 MB / 0.5388 GB, free: 98.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.6823, allocations: 7.641 kB / 0.5388 GB, free: 98.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.6823, allocations: 3.25 kB / 0.5388 GB, free: 98.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.6834, allocations: 332 kB / 0.5391 GB, free: 98.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/0.6872, allocations: 0.9133 MB / 0.54 GB, free: 98.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005426/0.6926, allocations: 7.423 MB / 0.5473 GB, free: 92.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.6956, allocations: 407.6 kB / 0.5477 GB, free: 92.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.6959, allocations: 105 kB / 0.5478 GB, free: 92.03 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.002227/0.6981, allocations: 1.411 MB / 0.5491 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006238/0.6987, allocations: 353.3 kB / 0.5495 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.6995, allocations: 448.3 kB / 0.5499 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.6995, allocations: 36.94 kB / 0.5499 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-05/0.6995, allocations: 9.234 kB / 0.5499 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.6996, allocations: 19.94 kB / 0.55 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.7139, allocations: 12.04 MB / 0.5617 GB, free: 85.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.7139, allocations: 16 kB / 0.5617 GB, free: 85.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/0.7172, allocations: 0.8095 MB / 0.5625 GB, free: 84.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006641/0.7179, allocations: 281.5 kB / 0.5628 GB, free: 83.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/0.7181, allocations: 127.9 kB / 0.5629 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.7232, allocations: 10.31 MB / 0.573 GB, free: 72.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.7233, allocations: 19.88 kB / 0.573 GB, free: 72.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008511/0.7318, allocations: 7.15 MB / 0.58 GB, free: 65.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.7332, allocations: 0.4897 MB / 0.5805 GB, free: 64.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006921/0.7339, allocations: 127.9 kB / 0.5806 GB, free: 64.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/0.7366, allocations: 411.6 kB / 0.581 GB, free: 64.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/0.7371, allocations: 305.4 kB / 0.5813 GB, free: 64.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/0.7373, allocations: 120 kB / 0.5814 GB, free: 63.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.7398, allocations: 2.275 MB / 0.5836 GB, free: 61.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7398, allocations: 0 / 0.5836 GB, free: 61.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00303/0.7428, allocations: 1.338 MB / 0.5849 GB, free: 60.4 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.008162/0.751, allocations: 7.883 MB / 0.5926 GB, free: 52.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006378/0.7574, allocations: 4.946 MB / 0.5974 GB, free: 47.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.7574, allocations: 6.656 kB / 0.5975 GB, free: 47.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003632/0.761, allocations: 3.238 MB / 0.6006 GB, free: 43.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/0.7649, allocations: 0.8014 MB / 0.6014 GB, free: 43.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/0.8116, allocations: 38.24 MB / 0.6387 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/0.8139, allocations: 3.218 MB / 0.6419 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003068/0.817, allocations: 1.293 MB / 0.6431 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002607/0.8196, allocations: 1.601 MB / 0.6447 GB, free: 13.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/0.8196, allocations: 3.938 kB / 0.6447 GB, free: 13.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/0.9907, allocations: 81.7 MB / 0.7245 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.83/19.82, allocations: 15.92 kB / 0.7245 GB, free: 13.07 MB / 0.5294 GB " [Timeout remaining time 640] (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: 22.725502996938303]