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.002457/0.002457, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003006/0.003006, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 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 1.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|ramp.y|oLine1.p2.v|oLine2.p2.v|oLine3.p2.v|oLine4.p2.v|tLine1.p2.v|tLine2.p2.v|tLine3.p2.v|tLine4.p2.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|ramp.y|oLine1.p2.v|oLine2.p2.v|oLine3.p2.v|oLine4.p2.v|tLine1.p2.v|tLine2.p2.v|tLine3.p2.v|tLine4.p2.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.519e-06/4.519e-06, allocations: 4 kB / 272.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.575e-05, allocations: 2.312 kB / 272.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.009727/0.009763, allocations: 6.482 MB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004807/0.01457, allocations: 1.718 MB / 280.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007004/0.01527, allocations: 27.88 kB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.01604, allocations: 249.9 kB / 280.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.01733, allocations: 0.543 MB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.01831, allocations: 471.2 kB / 281.7 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009642/0.02795, allocations: 7.994 MB / 289.7 MB, free: 212 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1313/0.1592, allocations: 1.535 MB / 291.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006079/0.1653, allocations: 4.056 MB / 295.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006063/0.1714, allocations: 2.829 MB / 298.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002347/0.1737, allocations: 0.6593 MB / 298.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.1765, allocations: 0.6609 MB / 299.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.1783, allocations: 1.629 MB / 301.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005987/0.1843, allocations: 2.155 MB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007508/0.1918, allocations: 8.576 MB / 311.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1918, allocations: 1.094 kB / 311.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1918, allocations: 3 kB / 311.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002845/0.1921, allocations: 0 / 311.8 MB, free: 8.246 MB / 266.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.01497/0.207, allocations: 6.581 MB / 318.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2071, allocations: 8.031 kB / 318.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.2085, allocations: 0.8606 MB / 319.3 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.214, allocations: 2.449 MB / 321.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.2143, allocations: 316.5 kB / 322 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009495/0.2153, allocations: 476 kB / 322.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.2331, allocations: 8.011 MB / 330.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.2333, allocations: 192 / 330.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/0.2345, allocations: 176.6 kB / 330.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002762/0.2347, allocations: 200.4 kB / 330.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.2475, allocations: 4.998 MB / 335.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05517/0.3026, allocations: 22.35 MB / 358.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008876/0.3115, allocations: 4.066 MB / 362.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005583/0.3171, allocations: 3.044 MB / 365.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.3173, allocations: 58.81 kB / 365.4 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.3175, allocations: 92.7 kB / 365.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=358): time 8.185e-06/0.3175, allocations: 0 / 365.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=358): time 0.01257/0.33, allocations: 5.378 MB / 370.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002463/0.3303, allocations: 295.8 kB / 371.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007644/0.3379, allocations: 3.305 MB / 374.5 MB, free: 9.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009408/0.3389, allocations: 109.7 kB / 374.6 MB, free: 9.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.3412, allocations: 1.972 MB / 376.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002349/0.3435, allocations: 1.497 MB / 378 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002754/0.3463, allocations: 0.8139 MB / 378.8 MB, free: 5.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.3466, allocations: 476.8 kB / 379.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.3503, allocations: 1.811 MB / 381.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004552/0.3548, allocations: 2.562 MB / 383.7 MB, free: 476 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02077/0.3756, allocations: 8.357 MB / 392 MB, free: 8.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.3756, allocations: 0 / 392 MB, free: 8.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01267/0.3883, allocations: 5.162 MB / 397.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.3883, allocations: 8 kB / 397.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.3883, allocations: 0 / 397.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.39, allocations: 400.5 kB / 397.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/0.3944, allocations: 0.9248 MB / 398.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.4051, allocations: 9.627 MB / 408.2 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/0.4088, allocations: 373.5 kB / 408.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007431/0.4096, allocations: 108 kB / 408.6 MB, free: 7.117 MB / 362.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.00389/0.4134, allocations: 1.319 MB / 409.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/0.4154, allocations: 438.1 kB / 410.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.4168, allocations: 397.8 kB / 410.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-05/0.4169, allocations: 36 kB / 410.8 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/0.4169, allocations: 4 kB / 410.8 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/0.4169, allocations: 19.92 kB / 410.8 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02703/0.444, allocations: 11.94 MB / 422.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.444, allocations: 15.98 kB / 422.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004008/0.448, allocations: 0.8155 MB / 423.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.4493, allocations: 349.5 kB / 423.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003719/0.4497, allocations: 128.3 kB / 424.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1653/0.6149, allocations: 14.03 MB / 438.1 MB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-05/0.6149, allocations: 20.22 kB / 438.1 MB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.6266, allocations: 6.923 MB / 445 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.6283, allocations: 447.3 kB / 445.5 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007341/0.629, allocations: 124.6 kB / 445.6 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/0.632, allocations: 413.7 kB / 446 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005561/0.6326, allocations: 303.9 kB / 446.3 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/0.6329, allocations: 120.5 kB / 446.4 MB, free: 104.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002932/0.6358, allocations: 2.078 MB / 448.5 MB, free: 104.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6358, allocations: 0 / 448.5 MB, free: 104.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003793/0.6396, allocations: 1.358 MB / 449.8 MB, free: 104 MB / 378.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.0005613/0.6401, allocations: 292.5 kB / 450.1 MB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007063/0.6472, allocations: 5.048 MB / 455.2 MB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-05/0.6472, allocations: 6.469 kB / 455.2 MB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003665/0.6509, allocations: 3.282 MB / 458.5 MB, free: 100 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/0.6555, allocations: 0.6931 MB / 459.2 MB, free: 99.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.6728, allocations: 11.11 MB / 470.3 MB, free: 93.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.6754, allocations: 2.432 MB / 472.7 MB, free: 92.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003153/0.6785, allocations: 0.9588 MB / 473.7 MB, free: 92.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008659/0.6794, allocations: 248.4 kB / 473.9 MB, free: 91.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6794, allocations: 0 / 473.9 MB, free: 91.89 MB / 378.7 MB Notification: Performance of Templates: time 0.06896/0.7483, allocations: 48.95 MB / 0.5106 GB, free: 43.63 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 240] 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: 6.889486136031337]