Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001696/0.001696, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002239/0.002239, allocations: 214.5 kB / 24.48 MB, free: 3.832 MB / 14.72 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.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.812 MB / 206.1 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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 59.91 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2656, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004963/0.2705, allocations: 3.291 MB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2724, allocations: 0.8453 MB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.2726, allocations: 8 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.2728, allocations: 83.2 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2732, allocations: 150.7 kB / 436.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.2737, allocations: 191.8 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.2744, allocations: 0.6193 MB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.2747, allocations: 157.4 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.275, allocations: 247.2 kB / 438 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.2754, allocations: 246.8 kB / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.224e-05/0.2755, allocations: 59.94 kB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.2756, allocations: 60 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2757, allocations: 123.6 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.276, allocations: 243 kB / 438.7 MB, free: 212 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.2766, allocations: 0.6176 MB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2766, allocations: 0 / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2767, allocations: 0 / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2767, allocations: 3.938 kB / 439.3 MB, free: 15.59 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.001593/0.2783, allocations: 0.7875 MB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2783, allocations: 8.031 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2784, allocations: 56.61 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.279, allocations: 284.7 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.279, allocations: 33.38 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.2791, allocations: 48.38 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2801, allocations: 0.7611 MB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2801, allocations: 7.922 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.2802, allocations: 24 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2802, allocations: 8 kB / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.2809, allocations: 315.8 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.2831, allocations: 1.315 MB / 443 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.2836, allocations: 198 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.2839, allocations: 93.41 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2839, allocations: 4 kB / 443.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.2844, allocations: 324.5 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.404e-06/0.2844, allocations: 0 / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001469/0.2859, allocations: 470.3 kB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000257/0.2861, allocations: 316.4 kB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.2865, allocations: 308.1 kB / 444.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.2866, allocations: 33.7 kB / 444.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.2868, allocations: 276.1 kB / 444.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.2869, allocations: 95.2 kB / 445 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.287, allocations: 82.02 kB / 445.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2872, allocations: 342.8 kB / 445.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.2875, allocations: 118.4 kB / 445.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.288, allocations: 0.5468 MB / 446.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.2886, allocations: 331.4 kB / 446.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2886, allocations: 0 / 446.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001155/0.2897, allocations: 0.5547 MB / 447 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.2898, allocations: 33.83 kB / 447 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2898, allocations: 12.03 kB / 447 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.2904, allocations: 166.3 kB / 447.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.2906, allocations: 51.91 kB / 447.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.2952, allocations: 4.531 MB / 451.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.2956, allocations: 67.77 kB / 451.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2956, allocations: 16 kB / 451.9 MB, free: 2.094 MB / 350.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.0002361/0.2959, allocations: 169.6 kB / 452 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.2959, allocations: 31.81 kB / 452.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.633e-05/0.296, allocations: 34.98 kB / 452.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.296, allocations: 8 kB / 452.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.296, allocations: 4 kB / 452.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.296, allocations: 0 / 452.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.2964, allocations: 289.1 kB / 452.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2964, allocations: 4 kB / 452.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.2965, allocations: 31.97 kB / 452.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.2968, allocations: 107.3 kB / 452.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2969, allocations: 11.98 kB / 452.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/0.3014, allocations: 5.236 MB / 457.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3014, allocations: 0 / 457.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.3022, allocations: 365.1 kB / 458.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.3022, allocations: 35.73 kB / 458.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.3023, allocations: 8 kB / 458.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.3025, allocations: 28.11 kB / 458.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.3026, allocations: 35.94 kB / 458.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3027, allocations: 15.98 kB / 458.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.3029, allocations: 207.1 kB / 458.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3029, allocations: 0 / 458.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006063/0.3035, allocations: 151.7 kB / 458.6 MB, free: 10.86 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.0001675/0.3037, allocations: 115.1 kB / 458.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3049, allocations: 0.7235 MB / 459.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3049, allocations: 4.688 kB / 459.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.3056, allocations: 0.5689 MB / 460 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.306, allocations: 64.98 kB / 460.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3073, allocations: 0.7074 MB / 460.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.3075, allocations: 212.2 kB / 461 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.3075, allocations: 39.42 kB / 461 MB, free: 8.258 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3075, allocations: 0 / 461 MB, free: 8.258 MB / 366.1 MB Notification: Performance of Templates: time 0.01334/0.3209, allocations: 10.61 MB / 471.6 MB, free: 13.66 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.220417723059654]