Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 207.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.88 kB / 377.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2535, allocations: 53.39 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.01016/0.2636, allocations: 5.859 MB / 437 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.2678, allocations: 1.672 MB / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.2683, allocations: 27.88 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.269, allocations: 258 kB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.2702, allocations: 0.5121 MB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.2711, allocations: 455.3 kB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008536/0.2797, allocations: 7.779 MB / 447.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.2821, allocations: 1.539 MB / 449.3 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.2862, allocations: 2.793 MB / 452.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005572/0.2917, allocations: 3.06 MB / 455.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001596/0.2933, allocations: 0.6602 MB / 455.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.2952, allocations: 0.6601 MB / 456.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.2972, allocations: 1.589 MB / 458 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004625/0.3018, allocations: 2.467 MB / 460.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009005/0.3108, allocations: 8.285 MB / 468.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3108, allocations: 0 / 468.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3108, allocations: 3.938 kB / 468.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002171/0.311, allocations: 0 / 468.8 MB, free: 0.6484 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.01449/0.3255, allocations: 5.961 MB / 474.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3256, allocations: 15.98 kB / 474.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/0.3266, allocations: 0.5802 MB / 475.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.3278, allocations: 0.5524 MB / 475.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006412/0.3342, allocations: 2.682 MB / 478.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.3345, allocations: 316.5 kB / 478.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008598/0.3353, allocations: 440.2 kB / 479.3 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.3502, allocations: 8.076 MB / 487.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.098e-05/0.3502, allocations: 3.984 kB / 487.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004879/0.3507, allocations: 179.9 kB / 487.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/0.351, allocations: 200.5 kB / 487.8 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.3625, allocations: 5.541 MB / 493.3 MB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04271/0.4052, allocations: 16.94 MB / 0.4983 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008036/0.4133, allocations: 4.332 MB / 0.5025 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005318/0.4186, allocations: 3.346 MB / 0.5058 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.4187, allocations: 38.81 kB / 0.5058 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.4188, allocations: 97.75 kB / 0.5059 GB, free: 14.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 6.242e-06/0.4189, allocations: 0 / 0.5059 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01129/0.4301, allocations: 5.916 MB / 0.5117 GB, free: 8.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.4303, allocations: 299.8 kB / 0.512 GB, free: 7.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005539/0.4359, allocations: 3.228 MB / 0.5151 GB, free: 4.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006529/0.4365, allocations: 105.7 kB / 0.5152 GB, free: 4.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.438, allocations: 1.719 MB / 0.5169 GB, free: 2.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.4396, allocations: 1.325 MB / 0.5182 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.4407, allocations: 0.642 MB / 0.5188 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4408, allocations: 305.1 kB / 0.5191 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.4443, allocations: 2.123 MB / 0.5212 GB, free: 14.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/0.4481, allocations: 2.66 MB / 0.5238 GB, free: 11.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.4667, allocations: 8.933 MB / 0.5325 GB, free: 2.777 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4667, allocations: 0 / 0.5325 GB, free: 2.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2165/0.6832, allocations: 5.598 MB / 0.538 GB, free: 98.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.6833, allocations: 8.391 kB / 0.538 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.6833, allocations: 4.812 kB / 0.538 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009325/0.6842, allocations: 320.8 kB / 0.5383 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/0.688, allocations: 0.9164 MB / 0.5392 GB, free: 98.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.6941, allocations: 7.383 MB / 0.5464 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/0.6975, allocations: 402.5 kB / 0.5468 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/0.6978, allocations: 108.1 kB / 0.5469 GB, free: 92.6 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.00216/0.7, allocations: 1.409 MB / 0.5483 GB, free: 91.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/0.7006, allocations: 354.5 kB / 0.5486 GB, free: 91.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.7013, allocations: 451.4 kB / 0.549 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.7013, allocations: 33.47 kB / 0.5491 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/0.7013, allocations: 3.781 kB / 0.5491 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.7014, allocations: 17.91 kB / 0.5491 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.7164, allocations: 11.35 MB / 0.5602 GB, free: 85.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.7164, allocations: 12.97 kB / 0.5602 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/0.7195, allocations: 0.8168 MB / 0.561 GB, free: 84.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006423/0.7201, allocations: 281.8 kB / 0.5612 GB, free: 84.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.7204, allocations: 127.9 kB / 0.5614 GB, free: 84.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004885/0.7252, allocations: 10.28 MB / 0.5714 GB, free: 73.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.7252, allocations: 24.28 kB / 0.5714 GB, free: 73.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008144/0.7334, allocations: 7.143 MB / 0.5784 GB, free: 65.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.7347, allocations: 0.4923 MB / 0.5789 GB, free: 65.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005598/0.7353, allocations: 127.9 kB / 0.579 GB, free: 65.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/0.7382, allocations: 407.6 kB / 0.5794 GB, free: 64.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/0.7386, allocations: 301.4 kB / 0.5797 GB, free: 64.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/0.7388, allocations: 116 kB / 0.5798 GB, free: 64.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002557/0.7414, allocations: 2.285 MB / 0.582 GB, free: 61.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7414, allocations: 0 / 0.582 GB, free: 61.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003112/0.7445, allocations: 1.336 MB / 0.5833 GB, free: 60.66 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.008435/0.7529, allocations: 7.879 MB / 0.591 GB, free: 52.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006684/0.7596, allocations: 4.959 MB / 0.5959 GB, free: 47.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.939e-05/0.7596, allocations: 10.66 kB / 0.5959 GB, free: 47.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003848/0.7635, allocations: 3.224 MB / 0.599 GB, free: 44.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/0.7674, allocations: 0.8026 MB / 0.5998 GB, free: 43.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05005/0.8175, allocations: 38.12 MB / 0.637 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/0.8198, allocations: 2.679 MB / 0.6397 GB, free: 1.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002995/0.8228, allocations: 1.301 MB / 0.6409 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/0.8252, allocations: 1.609 MB / 0.6425 GB, free: 14.88 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.8252, allocations: 0 / 0.6425 GB, free: 14.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/0.9883, allocations: 83.13 MB / 0.7237 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.54, allocations: 7.922 kB / 0.7237 GB, free: 12.53 MB / 0.5294 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks_fmu --startTime=0 --stopTime=0.004 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 19.382274026051164]