Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.001553/0.001553, allocations: 116.8 kB / 19.18 MB, free: 3.926 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.001888/0.001888, allocations: 210.6 kB / 22.13 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 374.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09516, allocations: 53.31 MB / 428.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00522/0.1004, allocations: 3.612 MB / 431.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1964/0.2968, allocations: 0.8889 MB / 432.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.2972, allocations: 9.5 kB / 432.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.2975, allocations: 78.39 kB / 432.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.2979, allocations: 149.7 kB / 432.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.2983, allocations: 198 kB / 433 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.299, allocations: 0.6208 MB / 433.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2993, allocations: 157.2 kB / 433.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.2995, allocations: 246.1 kB / 434 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.2998, allocations: 290.2 kB / 434.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.42e-05/0.2999, allocations: 57.81 kB / 434.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.033e-05/0.3, allocations: 61.56 kB / 434.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.3001, allocations: 120.2 kB / 434.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.3003, allocations: 285.5 kB / 434.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.3009, allocations: 0.6123 MB / 435.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3009, allocations: 0 / 435.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3009, allocations: 2.344 kB / 435.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3009, allocations: 1.25 kB / 435.5 MB, free: 7.762 MB / 350.1 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.001407/0.3023, allocations: 0.8612 MB / 436.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3024, allocations: 9.281 kB / 436.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3025, allocations: 60.72 kB / 436.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.303, allocations: 341.9 kB / 436.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.303, allocations: 36.64 kB / 436.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.303, allocations: 42.16 kB / 436.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.3039, allocations: 0.521 MB / 437.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3039, allocations: 1.125 kB / 437.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.3039, allocations: 18.61 kB / 437.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.304, allocations: 11.41 kB / 437.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.3046, allocations: 316.4 kB / 437.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.3068, allocations: 1.545 MB / 439.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.3073, allocations: 203.4 kB / 439.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.3075, allocations: 89 kB / 439.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3076, allocations: 3.406 kB / 439.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.3079, allocations: 221.2 kB / 439.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.3079, allocations: 1.781 kB / 439.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001477/0.3094, allocations: 0.7689 MB / 440.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.3095, allocations: 321.8 kB / 440.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.3099, allocations: 308.1 kB / 441.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3099, allocations: 33.3 kB / 441.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.31, allocations: 271.4 kB / 441.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.3101, allocations: 93.61 kB / 441.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3102, allocations: 84.09 kB / 441.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.3103, allocations: 342.4 kB / 441.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.3105, allocations: 104.4 kB / 442 MB, free: 3.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.3108, allocations: 253.5 kB / 442.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.3112, allocations: 336 kB / 442.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3113, allocations: 1 kB / 442.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001057/0.3123, allocations: 0.5286 MB / 443.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.3123, allocations: 38.42 kB / 443.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3123, allocations: 2.375 kB / 443.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.313, allocations: 163.9 kB / 443.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.3132, allocations: 51.33 kB / 443.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.3173, allocations: 4.944 MB / 448.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.3178, allocations: 58.84 kB / 448.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3178, allocations: 15.12 kB / 448.4 MB, free: 14.21 MB / 366.1 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.0002909/0.3181, allocations: 174 kB / 448.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.3181, allocations: 32.31 kB / 448.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.3182, allocations: 37.89 kB / 448.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3182, allocations: 7.219 kB / 448.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.3182, allocations: 2.719 kB / 448.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3183, allocations: 2.938 kB / 448.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.3188, allocations: 422.2 kB / 449 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3188, allocations: 1.844 kB / 449 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.319, allocations: 36.31 kB / 449.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/0.3193, allocations: 101.4 kB / 449.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3194, allocations: 8.344 kB / 449.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004659/0.324, allocations: 5.761 MB / 454.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.324, allocations: 3.016 kB / 454.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/0.3249, allocations: 361.3 kB / 455.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.3251, allocations: 112.5 kB / 455.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.3251, allocations: 11.92 kB / 455.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.3254, allocations: 28.7 kB / 455.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3255, allocations: 33.31 kB / 455.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3255, allocations: 15.86 kB / 455.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.3258, allocations: 215.8 kB / 455.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3258, allocations: 4 kB / 455.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000689/0.3265, allocations: 154.4 kB / 455.9 MB, free: 7.344 MB / 366.1 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.0001758/0.3267, allocations: 106.1 kB / 456 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3279, allocations: 0.7 MB / 456.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3279, allocations: 1.562 kB / 456.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.3287, allocations: 0.5732 MB / 457.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3291, allocations: 63.59 kB / 457.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3305, allocations: 0.7097 MB / 458 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.331, allocations: 0.8185 MB / 458.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.3311, allocations: 30.98 kB / 458.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3311, allocations: 0 / 458.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01605/0.3471, allocations: 10.56 MB / 469.4 MB, free: 0.8047 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.165414670016617]