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.0008243/0.0008243, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008004/0.0008004, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.895/0.895, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 2.595e-06/2.595e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.251e-05, allocations: 3.266 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.00703/0.007063, allocations: 5.861 MB / 330.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003936/0.011, allocations: 1.683 MB / 332.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.01175, allocations: 31.88 kB / 332.1 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.0123, allocations: 253.9 kB / 332.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009/0.0132, allocations: 0.5351 MB / 332.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.01387, allocations: 459.3 kB / 333.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005056/0.01893, allocations: 8.002 MB / 341.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002104/0.02103, allocations: 1.543 MB / 342.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005188/0.02622, allocations: 4.051 MB / 347 MB, free: 9.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003838/0.03006, allocations: 2.764 MB / 349.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.03147, allocations: 0.6602 MB / 350.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00095/0.03242, allocations: 0.6562 MB / 351 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009786/0.0334, allocations: 1.628 MB / 352.7 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002946/0.03635, allocations: 2.144 MB / 354.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.04275, allocations: 8.544 MB / 363.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.04275, allocations: 0 / 363.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.04276, allocations: 3.984 kB / 363.4 MB, free: 8.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002214/0.04298, allocations: 0 / 363.4 MB, free: 8.848 MB / 330.7 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.01109/0.05407, allocations: 5.91 MB / 369.3 MB, free: 2.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.05412, allocations: 15.98 kB / 369.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000751/0.05487, allocations: 0.5841 MB / 369.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.05569, allocations: 0.5485 MB / 370.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.0591, allocations: 2.681 MB / 373.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.05926, allocations: 312.5 kB / 373.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.05971, allocations: 444.2 kB / 373.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008841/0.06855, allocations: 8.072 MB / 381.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.0686, allocations: 192 / 381.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.06895, allocations: 176.1 kB / 382.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.06909, allocations: 200.5 kB / 382.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008311/0.0774, allocations: 5.541 MB / 387.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0272/0.1046, allocations: 16.94 MB / 404.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.1094, allocations: 4.332 MB / 409.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.1123, allocations: 3.342 MB / 412.4 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1124, allocations: 38.81 kB / 412.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.626e-05/0.1124, allocations: 93.81 kB / 412.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=358): time 6.332e-06/0.1124, allocations: 7.922 kB / 412.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=358): time 0.007645/0.1201, allocations: 5.916 MB / 418.5 MB, free: 0.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.1202, allocations: 299.8 kB / 418.8 MB, free: 232 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/0.1251, allocations: 3.225 MB / 422 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005611/0.1257, allocations: 105.7 kB / 422.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009233/0.1266, allocations: 1.711 MB / 423.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009839/0.1276, allocations: 1.313 MB / 425.1 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/0.1283, allocations: 0.6419 MB / 425.8 MB, free: 9.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.1284, allocations: 305.1 kB / 426.1 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/0.1306, allocations: 2.127 MB / 428.2 MB, free: 6.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.133, allocations: 2.66 MB / 430.9 MB, free: 3.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.1445, allocations: 8.93 MB / 439.8 MB, free: 11.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.1445, allocations: 0 / 439.8 MB, free: 11.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.006644/0.1511, allocations: 5.607 MB / 445.4 MB, free: 5.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1511, allocations: 8 kB / 445.4 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.1511, allocations: 0 / 445.4 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.1517, allocations: 335.8 kB / 445.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.1537, allocations: 0.9166 MB / 446.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1677/0.3214, allocations: 7.368 MB / 454 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.3239, allocations: 407.6 kB / 454.4 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/0.3242, allocations: 107.2 kB / 454.5 MB, free: 109.7 MB / 410.7 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.002257/0.3265, allocations: 1.403 MB / 455.9 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007815/0.3272, allocations: 354.9 kB / 456.3 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004239/0.3277, allocations: 452.1 kB / 456.7 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.3277, allocations: 35.66 kB / 456.7 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/0.3277, allocations: 3.812 kB / 456.8 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.3277, allocations: 24.86 kB / 456.8 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.3378, allocations: 11.34 MB / 468.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3378, allocations: 15.72 kB / 468.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.3396, allocations: 0.8167 MB / 469 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004034/0.34, allocations: 286.6 kB / 469.2 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.3402, allocations: 126.5 kB / 469.4 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.3435, allocations: 10.25 MB / 479.6 MB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.3435, allocations: 27.81 kB / 479.6 MB, free: 92.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006556/0.3501, allocations: 7.11 MB / 486.7 MB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.3514, allocations: 0.4958 MB / 487.2 MB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/0.3519, allocations: 127.9 kB / 487.4 MB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.3535, allocations: 411.6 kB / 487.8 MB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/0.3539, allocations: 293.5 kB / 488.1 MB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.354, allocations: 130.6 kB / 488.2 MB, free: 83.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002227/0.3563, allocations: 2.275 MB / 490.5 MB, free: 81.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3563, allocations: 0 / 490.5 MB, free: 81.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002535/0.3588, allocations: 1.332 MB / 491.8 MB, free: 80.42 MB / 410.7 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.005658/0.3644, allocations: 7.854 MB / 499.6 MB, free: 72.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004792/0.3692, allocations: 4.945 MB / 0.4928 GB, free: 67.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/0.3693, allocations: 10.66 kB / 0.4928 GB, free: 67.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002668/0.3719, allocations: 3.229 MB / 0.4959 GB, free: 63.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/0.3755, allocations: 0.8062 MB / 0.4967 GB, free: 63.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/0.4106, allocations: 37.14 MB / 0.533 GB, free: 25.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.4125, allocations: 2.683 MB / 0.5356 GB, free: 22.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002289/0.4148, allocations: 1.297 MB / 0.5369 GB, free: 21.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.4162, allocations: 1.602 MB / 0.5384 GB, free: 19.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.916e-06/0.4162, allocations: 0 / 0.5384 GB, free: 19.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/0.5176, allocations: 82.98 MB / 0.6195 GB, free: 1.367 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.919/10.44, allocations: 7.797 kB / 0.6195 GB, free: 1.359 MB / 474.7 MB " [Timeout remaining time 649] (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/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_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: 12.370946536771953]