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.001258/0.001258, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001379/0.001379, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001523/0.001523, allocations: 47.92 kB / 377.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2662, allocations: 53.36 MB / 431.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007376/0.2736, allocations: 5.857 MB / 437 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.2772, allocations: 1.668 MB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.2779, allocations: 27.88 kB / 438.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.2786, allocations: 262 kB / 438.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.2798, allocations: 0.516 MB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.2806, allocations: 451.4 kB / 439.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007993/0.2886, allocations: 7.783 MB / 447.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.2911, allocations: 1.566 MB / 449.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.2954, allocations: 2.793 MB / 452 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005773/0.3012, allocations: 2.899 MB / 454.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002001/0.3032, allocations: 0.6602 MB / 455.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.3054, allocations: 0.6562 MB / 456.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.3074, allocations: 1.601 MB / 457.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006071/0.3135, allocations: 2.475 MB / 460.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.3239, allocations: 8.281 MB / 468.6 MB, free: 1.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3239, allocations: 4 kB / 468.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3239, allocations: 0 / 468.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00028/0.3242, allocations: 0 / 468.6 MB, free: 1.066 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.01781/0.342, allocations: 5.957 MB / 474.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.3421, allocations: 12.02 kB / 474.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001545/0.3436, allocations: 0.5919 MB / 475.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.3449, allocations: 0.5407 MB / 475.7 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006475/0.3514, allocations: 2.689 MB / 478.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.3517, allocations: 312.5 kB / 478.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.3527, allocations: 440.2 kB / 479.1 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.3673, allocations: 8.08 MB / 487.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.767e-05/0.3674, allocations: 0 / 487.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006175/0.368, allocations: 184 kB / 487.4 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.3682, allocations: 196.5 kB / 487.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.38, allocations: 5.541 MB / 493.1 MB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/0.422, allocations: 16.93 MB / 0.4981 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/0.4293, allocations: 4.332 MB / 0.5023 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00506/0.4343, allocations: 3.35 MB / 0.5056 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.4345, allocations: 38.75 kB / 0.5056 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.4346, allocations: 93.84 kB / 0.5057 GB, free: 14.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 1.036e-05/0.4346, allocations: 8 kB / 0.5057 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01141/0.446, allocations: 5.904 MB / 0.5115 GB, free: 8.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003828/0.4464, allocations: 299.8 kB / 0.5118 GB, free: 8.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005894/0.4523, allocations: 3.232 MB / 0.5149 GB, free: 5.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009954/0.4533, allocations: 105.6 kB / 0.515 GB, free: 5.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.4551, allocations: 1.719 MB / 0.5167 GB, free: 3.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002382/0.4575, allocations: 1.321 MB / 0.518 GB, free: 1.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.4589, allocations: 0.642 MB / 0.5186 GB, free: 1.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.459, allocations: 309.1 kB / 0.5189 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/0.4627, allocations: 2.123 MB / 0.521 GB, free: 14.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/0.4667, allocations: 2.66 MB / 0.5236 GB, free: 12.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/0.4844, allocations: 8.933 MB / 0.5323 GB, free: 3.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.4844, allocations: 0 / 0.5323 GB, free: 3.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.217/0.7014, allocations: 5.6 MB / 0.5378 GB, free: 98.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.7015, allocations: 6.297 kB / 0.5378 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.7015, allocations: 5.156 kB / 0.5378 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.7025, allocations: 334.8 kB / 0.5381 GB, free: 98.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.7064, allocations: 0.9083 MB / 0.539 GB, free: 98.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/0.7118, allocations: 7.377 MB / 0.5462 GB, free: 92.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.7146, allocations: 407.4 kB / 0.5466 GB, free: 92.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.7149, allocations: 106.7 kB / 0.5467 GB, free: 92.71 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.002111/0.717, allocations: 1.412 MB / 0.5481 GB, free: 92.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/0.7177, allocations: 357.8 kB / 0.5484 GB, free: 92.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006611/0.7183, allocations: 447.5 kB / 0.5489 GB, free: 91.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.7184, allocations: 33.59 kB / 0.5489 GB, free: 91.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/0.7184, allocations: 3.719 kB / 0.5489 GB, free: 91.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.7184, allocations: 18.98 kB / 0.5489 GB, free: 91.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.7321, allocations: 11.36 MB / 0.56 GB, free: 85.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.7321, allocations: 16.94 kB / 0.56 GB, free: 85.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/0.7354, allocations: 0.8168 MB / 0.5608 GB, free: 84.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006169/0.736, allocations: 281.8 kB / 0.5611 GB, free: 84.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.7362, allocations: 135.9 kB / 0.5612 GB, free: 84.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/0.7409, allocations: 10.26 MB / 0.5712 GB, free: 73.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.7409, allocations: 22.67 kB / 0.5712 GB, free: 73.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007744/0.7487, allocations: 7.157 MB / 0.5782 GB, free: 66.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.7501, allocations: 0.4998 MB / 0.5787 GB, free: 65.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000579/0.7506, allocations: 123.9 kB / 0.5788 GB, free: 65.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/0.7532, allocations: 407.6 kB / 0.5792 GB, free: 65.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/0.7536, allocations: 297.5 kB / 0.5795 GB, free: 64.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/0.7539, allocations: 120 kB / 0.5796 GB, free: 64.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00243/0.7563, allocations: 2.283 MB / 0.5819 GB, free: 62.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7563, allocations: 0 / 0.5819 GB, free: 62.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003304/0.7596, allocations: 1.336 MB / 0.5832 GB, free: 61.19 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.007416/0.767, allocations: 7.884 MB / 0.5909 GB, free: 52.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005653/0.7727, allocations: 4.946 MB / 0.5957 GB, free: 47.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.192e-05/0.7727, allocations: 6.656 kB / 0.5957 GB, free: 47.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003265/0.7759, allocations: 3.232 MB / 0.5989 GB, free: 44.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/0.7798, allocations: 0.7955 MB / 0.5996 GB, free: 43.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04503/0.8249, allocations: 38.12 MB / 0.6369 GB, free: 5.004 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.8272, allocations: 2.686 MB / 0.6395 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003143/0.8304, allocations: 1.297 MB / 0.6407 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/0.8326, allocations: 1.601 MB / 0.6423 GB, free: 15.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.8326, allocations: 7.547 kB / 0.6423 GB, free: 15.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/1.041, allocations: 84.49 MB / 0.7248 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/16.2, allocations: 3.938 kB / 0.7248 GB, free: 11.96 MB / 0.5294 GB " [Timeout remaining time 644] (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: 18.922192836995237]