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.001173/0.001173, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001257/0.001257, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.419/1.419, allocations: 230.5 MB / 255.4 MB, free: 14.91 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.001898/0.001898, allocations: 67.83 kB / 374.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1013, allocations: 53.32 MB / 428.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004947/0.1063, allocations: 3.624 MB / 431.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1799/0.2862, allocations: 0.8839 MB / 432.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.2864, allocations: 10.34 kB / 432.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.2866, allocations: 81.53 kB / 432.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.287, allocations: 139.5 kB / 432.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.2874, allocations: 200.3 kB / 433.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.2879, allocations: 0.6173 MB / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.2881, allocations: 169 kB / 433.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.2883, allocations: 245.8 kB / 434.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.2886, allocations: 288.2 kB / 434.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.2887, allocations: 57.12 kB / 434.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-05/0.2888, allocations: 57.84 kB / 434.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.2888, allocations: 127.4 kB / 434.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.289, allocations: 284.5 kB / 434.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.2895, allocations: 0.6125 MB / 435.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2895, allocations: 0.5312 kB / 435.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2895, allocations: 1.688 kB / 435.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.2895, allocations: 0 / 435.5 MB, free: 7.738 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.001331/0.2908, allocations: 0.8581 MB / 436.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2909, allocations: 12.75 kB / 436.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.291, allocations: 58.3 kB / 436.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.2914, allocations: 343.1 kB / 436.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.2914, allocations: 35.62 kB / 436.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.2915, allocations: 47.55 kB / 436.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.2923, allocations: 0.5139 MB / 437.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2923, allocations: 0 / 437.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.2923, allocations: 21.97 kB / 437.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.2924, allocations: 11.44 kB / 437.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.293, allocations: 317.5 kB / 437.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.295, allocations: 1.549 MB / 439.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.2955, allocations: 202.9 kB / 439.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2957, allocations: 85.44 kB / 439.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2958, allocations: 3.156 kB / 439.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/0.2961, allocations: 216.6 kB / 439.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.2961, allocations: 0 / 439.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001415/0.2975, allocations: 0.7739 MB / 440.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.2976, allocations: 314.7 kB / 440.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.2979, allocations: 308.1 kB / 441.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.2979, allocations: 33.39 kB / 441.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.298, allocations: 273.9 kB / 441.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.2981, allocations: 98.36 kB / 441.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.2982, allocations: 79.8 kB / 441.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.2983, allocations: 342.9 kB / 442 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.2985, allocations: 99.05 kB / 442.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.2988, allocations: 261.7 kB / 442.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.2993, allocations: 331.9 kB / 442.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2993, allocations: 2.219 kB / 442.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001045/0.3003, allocations: 0.5256 MB / 443.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.3003, allocations: 45.89 kB / 443.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3003, allocations: 2.219 kB / 443.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.3009, allocations: 163.5 kB / 443.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.3011, allocations: 46.61 kB / 443.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.3049, allocations: 4.946 MB / 448.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.3053, allocations: 61.8 kB / 448.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.3053, allocations: 16.12 kB / 448.4 MB, free: 14.14 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.0002131/0.3055, allocations: 166.5 kB / 448.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.3056, allocations: 34 kB / 448.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.3057, allocations: 37.95 kB / 448.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3057, allocations: 6.375 kB / 448.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.3057, allocations: 3.156 kB / 448.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3057, allocations: 3.047 kB / 448.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.3062, allocations: 423 kB / 449.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3062, allocations: 0 / 449.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.3064, allocations: 37.28 kB / 449.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.3067, allocations: 108.7 kB / 449.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.3067, allocations: 8.812 kB / 449.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004341/0.311, allocations: 5.766 MB / 455 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.311, allocations: 1.031 kB / 455 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.3118, allocations: 358 kB / 455.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.3119, allocations: 111.5 kB / 455.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.312, allocations: 7.109 kB / 455.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.3122, allocations: 29.88 kB / 455.5 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.3123, allocations: 33.08 kB / 455.5 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3124, allocations: 11.91 kB / 455.6 MB, free: 7.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.3126, allocations: 219.9 kB / 455.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3126, allocations: 4 kB / 455.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.3132, allocations: 150.9 kB / 455.9 MB, free: 7.277 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.0001481/0.3133, allocations: 105.8 kB / 456 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.3145, allocations: 0.7026 MB / 456.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3145, allocations: 0 / 456.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.3152, allocations: 0.5712 MB / 457.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3156, allocations: 61.44 kB / 457.4 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3168, allocations: 0.7089 MB / 458.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3172, allocations: 0.8187 MB / 458.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.3173, allocations: 33.33 kB / 458.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3173, allocations: 1.125 kB / 458.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of Templates: time 0.01388/0.3311, allocations: 10.56 MB / 469.5 MB, free: 0.707 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: 7.902909161988646]