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.0008053/0.0008053, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003274/0.003274, allocations: 155.4 kB / 24.7 MB, free: 8.355 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.847/0.847, allocations: 177 MB / 204.9 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: 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 1.563e-06/1.563e-06, allocations: 3.938 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.786e-05, allocations: 2.984 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004692/0.004719, allocations: 5.854 MB / 331.7 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.007878, allocations: 1.68 MB / 333.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.008377, allocations: 27.88 kB / 333.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.008848, allocations: 249.9 kB / 333.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.009629, allocations: 0.539 MB / 334.2 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.01023, allocations: 471.2 kB / 334.6 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005614/0.01585, allocations: 8.002 MB / 342.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.01777, allocations: 1.546 MB / 344.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006814/0.02459, allocations: 4.04 MB / 348.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004611/0.0292, allocations: 2.771 MB / 351 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.03058, allocations: 0.6602 MB / 351.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.03193, allocations: 0.6602 MB / 352.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.03312, allocations: 1.624 MB / 353.9 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00351/0.03663, allocations: 2.148 MB / 356.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007624/0.04426, allocations: 8.54 MB / 364.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.04427, allocations: 4 kB / 364.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.04427, allocations: 0 / 364.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003634/0.04463, allocations: 3.938 kB / 364.6 MB, free: 8.352 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.01/0.05463, allocations: 5.906 MB / 370.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.05467, allocations: 15.97 kB / 370.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.05536, allocations: 0.5446 MB / 371.1 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.05855, allocations: 2.673 MB / 373.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.05869, allocations: 316.5 kB / 374.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004811/0.05917, allocations: 452.2 kB / 374.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.06951, allocations: 8.069 MB / 382.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.06957, allocations: 192 / 382.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/0.06996, allocations: 180.4 kB / 382.8 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.07011, allocations: 200.4 kB / 383 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008543/0.07865, allocations: 5.533 MB / 388.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02806/0.1067, allocations: 16.33 MB / 404.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005255/0.112, allocations: 4.336 MB / 409.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/0.1157, allocations: 3.346 MB / 412.5 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.1158, allocations: 38.81 kB / 412.5 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/0.1159, allocations: 85.88 kB / 412.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=358): time 6.012e-06/0.1159, allocations: 0 / 412.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=358): time 0.007178/0.123, allocations: 5.892 MB / 418.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1232, allocations: 299.8 kB / 418.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.1269, allocations: 2.913 MB / 421.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000582/0.1275, allocations: 105.7 kB / 421.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000804/0.1283, allocations: 1.737 MB / 423.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009384/0.1292, allocations: 1.305 MB / 424.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007703/0.13, allocations: 0.6458 MB / 425.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.13, allocations: 305.1 kB / 425.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.1322, allocations: 2.127 MB / 427.9 MB, free: 7.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.1345, allocations: 2.66 MB / 430.6 MB, free: 5.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.1454, allocations: 8.934 MB / 439.5 MB, free: 12.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1454, allocations: 0 / 439.5 MB, free: 12.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.005947/0.1513, allocations: 5.583 MB / 445.1 MB, free: 6.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.1513, allocations: 4 kB / 445.1 MB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1514, allocations: 0 / 445.1 MB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.152, allocations: 338.6 kB / 445.5 MB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.1538, allocations: 0.9205 MB / 446.4 MB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1615/0.3154, allocations: 7.271 MB / 453.6 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.3178, allocations: 380.5 kB / 454 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.3181, allocations: 105.4 kB / 454.1 MB, free: 110 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.002261/0.3203, allocations: 1.414 MB / 455.5 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/0.321, allocations: 333.6 kB / 455.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.3214, allocations: 431.3 kB / 456.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.3214, allocations: 34.16 kB / 456.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.411e-05/0.3214, allocations: 2.75 kB / 456.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.3215, allocations: 17.62 kB / 456.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009447/0.3309, allocations: 10.86 MB / 467.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.3309, allocations: 14.66 kB / 467.2 MB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.3327, allocations: 0.811 MB / 468 MB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000396/0.3331, allocations: 276 kB / 468.3 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.3332, allocations: 134.5 kB / 468.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.3365, allocations: 10.11 MB / 478.5 MB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/0.3365, allocations: 31 kB / 478.6 MB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005701/0.3422, allocations: 7.094 MB / 485.7 MB, free: 86.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.3432, allocations: 465.9 kB / 486.1 MB, free: 86.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.3435, allocations: 120 kB / 486.2 MB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.345, allocations: 415.6 kB / 486.6 MB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.3453, allocations: 273.5 kB / 486.9 MB, free: 85.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.3454, allocations: 124 kB / 487 MB, free: 85.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001738/0.3472, allocations: 2.051 MB / 489.1 MB, free: 83.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3472, allocations: 0 / 489.1 MB, free: 83.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002824/0.35, allocations: 1.356 MB / 490.4 MB, free: 82.15 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.0004023/0.3504, allocations: 293.3 kB / 490.7 MB, free: 81.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004278/0.3547, allocations: 4.952 MB / 495.7 MB, free: 76.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/0.3547, allocations: 6.656 kB / 495.7 MB, free: 76.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.3567, allocations: 2.916 MB / 498.6 MB, free: 73.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.3592, allocations: 0.6651 MB / 499.3 MB, free: 73.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.3703, allocations: 11.46 MB / 0.4987 GB, free: 61.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.3719, allocations: 2.626 MB / 0.5013 GB, free: 58.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.3731, allocations: 252.5 kB / 0.5015 GB, free: 58.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3731, allocations: 0 / 0.5015 GB, free: 58.66 MB / 410.7 MB Notification: Performance of Templates: time 0.2428/0.6159, allocations: 172.2 MB / 0.6697 GB, free: 130.7 MB / 474.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] 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] "" Variables in the reference: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 Variables in the result:oLine1.p2.v,oLine2.p2.v,oLine3.p2.v,oLine4.p2.v,ramp.y,tLine1.p2.v,tLine2.p2.v,tLine3.p2.v,tLine4.p2.v,time [Calling sys.exit(0), Time elapsed: 8.71327589917928]