Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.0008988/0.0008988, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004663/0.004663, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8549/0.8549, allocations: 177.2 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.58e-05, allocations: 4.812 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.002918/0.002944, allocations: 3.299 MB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.004122, allocations: 0.8569 MB / 330 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.004284, allocations: 8 kB / 330 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.00444, allocations: 83.2 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.004718, allocations: 150.6 kB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.005046, allocations: 215.5 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.005479, allocations: 0.6384 MB / 331.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.005702, allocations: 157.4 kB / 331.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.005972, allocations: 371.2 kB / 331.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.006174, allocations: 211.3 kB / 331.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.00623, allocations: 60 kB / 331.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.006278, allocations: 56 kB / 332 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.006343, allocations: 127.5 kB / 332.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.006472, allocations: 203.5 kB / 332.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.007141, allocations: 0.6426 MB / 332.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.007145, allocations: 0 / 332.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007146, allocations: 0 / 332.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.007152, allocations: 0 / 332.9 MB, free: 8.301 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009391/0.008091, allocations: 0.7867 MB / 333.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.008134, allocations: 8.031 kB / 333.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.008209, allocations: 56.61 kB / 333.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.008556, allocations: 288.4 kB / 334.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.008581, allocations: 37.36 kB / 334.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.008622, allocations: 48.38 kB / 334.1 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.009222, allocations: 0.7577 MB / 334.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.009233, allocations: 192 / 334.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.009267, allocations: 35.91 kB / 334.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.009275, allocations: 8 kB / 334.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.009657, allocations: 319.8 kB / 335.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.01095, allocations: 1.309 MB / 336.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.01126, allocations: 194.5 kB / 336.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.01138, allocations: 84.81 kB / 336.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.0114, allocations: 7.938 kB / 336.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.01168, allocations: 324.4 kB / 337.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.152e-06/0.01168, allocations: 0 / 337.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.000794/0.01247, allocations: 471.3 kB / 337.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.01257, allocations: 316.4 kB / 337.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.01279, allocations: 308.1 kB / 338.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.01282, allocations: 33.7 kB / 338.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.01294, allocations: 272.1 kB / 338.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.01299, allocations: 99.16 kB / 338.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.01306, allocations: 78.06 kB / 338.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.01315, allocations: 346.8 kB / 339 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01329, allocations: 122.4 kB / 339.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.0138, allocations: 0.539 MB / 339.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.0141, allocations: 330.8 kB / 340 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01411, allocations: 0 / 340 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006111/0.01472, allocations: 0.5626 MB / 340.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.01475, allocations: 33.7 kB / 340.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01475, allocations: 0 / 340.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.01509, allocations: 166.4 kB / 340.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.01519, allocations: 47.92 kB / 340.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.01757, allocations: 4.539 MB / 345.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.01775, allocations: 63.7 kB / 345.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.01777, allocations: 19.94 kB / 345.4 MB, free: 10.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.01791, allocations: 165.7 kB / 345.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01794, allocations: 35.81 kB / 345.6 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.01797, allocations: 34.98 kB / 345.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01797, allocations: 4 kB / 345.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.01797, allocations: 0 / 345.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01798, allocations: 7.984 kB / 345.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.01819, allocations: 289.1 kB / 346 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01819, allocations: 0 / 346 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.01827, allocations: 35.97 kB / 346 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.01844, allocations: 107.3 kB / 346.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01845, allocations: 8 kB / 346.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/0.02074, allocations: 5.233 MB / 351.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.02074, allocations: 4.297 kB / 351.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.02114, allocations: 360 kB / 351.7 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.02117, allocations: 35.73 kB / 351.7 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.0212, allocations: 4.094 kB / 351.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.02131, allocations: 39.91 kB / 351.8 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.02138, allocations: 31.94 kB / 351.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.02139, allocations: 8 kB / 351.8 MB, free: 3.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.02153, allocations: 215.1 kB / 352 MB, free: 3.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02153, allocations: 0 / 352 MB, free: 3.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.02191, allocations: 151.7 kB / 352.2 MB, free: 3.586 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001129/0.02202, allocations: 111.2 kB / 352.3 MB, free: 3.469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.0227, allocations: 0.7239 MB / 353 MB, free: 2.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.0227, allocations: 4 kB / 353 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.02304, allocations: 0.5583 MB / 353.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.02351, allocations: 57.27 kB / 353.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.02428, allocations: 0.6927 MB / 354.3 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.02439, allocations: 212.3 kB / 354.5 MB, free: 1.055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.02445, allocations: 28.5 kB / 354.6 MB, free: 1.027 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02445, allocations: 3.938 kB / 354.6 MB, free: 1.023 MB / 314.7 MB Notification: Performance of Templates: time 0.007495/0.03194, allocations: 10.61 MB / 365.2 MB, free: 6.418 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,line1.v1,line1.v2,line1.i1,line1.i2,line2.v1,line2.v2,line2.i1,line2.i2,line3.v1,line3.v2,line3.i1,line3.i2 Variables in the result:line1.i1,line1.i2,line1.v1,line1.v2,line2.i1,line2.i2,line2.v1,line2.v2,line3.i1,line3.i2,line3.v1,line3.v2,time [Calling sys.exit(0), Time elapsed: 4.8257388127967715]