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.001755/0.001755, allocations: 76.73 kB / 20.68 MB, free: 1.016 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.002119/0.002119, allocations: 160.5 kB / 23.95 MB, free: 4.129 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.519/1.519, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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 1.533e-06/1.533e-06, allocations: 0 / 325.1 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.352e-05, allocations: 6.281 kB / 325.1 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004406/0.00443, allocations: 3.283 MB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.006111, allocations: 0.8603 MB / 329.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.006292, allocations: 7.312 kB / 329.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.006507, allocations: 81.03 kB / 329.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.006903, allocations: 153.9 kB / 329.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.0074, allocations: 215.5 kB / 329.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.008116, allocations: 0.6436 MB / 330.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.008406, allocations: 155.2 kB / 330.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.008849, allocations: 367.2 kB / 330.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.009218, allocations: 213.5 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.009311, allocations: 57.97 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.009414, allocations: 61.56 kB / 331.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.009552, allocations: 134.9 kB / 331.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.009804, allocations: 199.5 kB / 331.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.01052, allocations: 0.6392 MB / 332.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.01052, allocations: 0 / 332.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01052, allocations: 0 / 332.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.01053, allocations: 0 / 332.1 MB, free: 11.94 MB / 302.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.001599/0.01213, allocations: 0.7813 MB / 332.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.01217, allocations: 13.19 kB / 332.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.01229, allocations: 57.92 kB / 333 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.01281, allocations: 284.8 kB / 333.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.01287, allocations: 37.19 kB / 333.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.01294, allocations: 47.19 kB / 333.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.01401, allocations: 0.7624 MB / 334.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.01403, allocations: 192 / 334.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.01408, allocations: 24.81 kB / 334.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.01409, allocations: 11.5 kB / 334.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/0.0148, allocations: 325 kB / 334.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.01711, allocations: 1.303 MB / 335.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.01765, allocations: 194.8 kB / 335.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.01788, allocations: 89.78 kB / 336 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.0179, allocations: 2.844 kB / 336 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.0184, allocations: 322.5 kB / 336.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.0184, allocations: 0 / 336.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001524/0.01993, allocations: 471.7 kB / 336.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.02013, allocations: 321.8 kB / 337.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.02052, allocations: 302.7 kB / 337.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.02056, allocations: 35.98 kB / 337.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.02079, allocations: 269.3 kB / 337.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.02088, allocations: 97.94 kB / 337.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.02104, allocations: 79.94 kB / 337.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.02122, allocations: 344.5 kB / 338.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.02154, allocations: 124.6 kB / 338.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.02212, allocations: 0.5408 MB / 338.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.02271, allocations: 335.6 kB / 339.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02271, allocations: 9.156 kB / 339.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001253/0.02396, allocations: 0.5565 MB / 339.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.024, allocations: 29.7 kB / 339.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.02401, allocations: 4 kB / 339.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006918/0.0247, allocations: 174.4 kB / 340 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.02491, allocations: 43.97 kB / 340 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/0.02952, allocations: 4.534 MB / 344.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.02993, allocations: 55.7 kB / 344.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.02996, allocations: 16 kB / 344.6 MB, free: 492 kB / 302.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.0002413/0.0302, allocations: 170 kB / 344.8 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.03027, allocations: 31.81 kB / 344.8 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.03034, allocations: 38.98 kB / 344.8 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.03034, allocations: 8 kB / 344.9 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.03035, allocations: 0 / 344.9 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.03036, allocations: 0 / 344.9 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.03074, allocations: 293 kB / 345.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.03074, allocations: 0 / 345.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.03092, allocations: 39.98 kB / 345.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.03124, allocations: 103.3 kB / 345.3 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.03127, allocations: 11.98 kB / 345.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.03557, allocations: 5.237 MB / 350.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.03557, allocations: 0 / 350.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.03642, allocations: 356 kB / 350.9 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.03649, allocations: 39.73 kB / 350.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.03654, allocations: 8 kB / 350.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.03684, allocations: 31.97 kB / 351 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.03696, allocations: 47.92 kB / 351 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.03699, allocations: 15.98 kB / 351 MB, free: 9.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.03724, allocations: 211.1 kB / 351.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03724, allocations: 0 / 351.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006136/0.03785, allocations: 147.7 kB / 351.4 MB, free: 9.238 MB / 318.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.0001525/0.038, allocations: 115.4 kB / 351.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.03929, allocations: 0.7272 MB / 352.2 MB, free: 8.332 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03929, allocations: 0 / 352.2 MB, free: 8.332 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.04008, allocations: 0.5747 MB / 352.8 MB, free: 7.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.04047, allocations: 56.81 kB / 352.8 MB, free: 7.648 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.04177, allocations: 0.6703 MB / 353.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.04199, allocations: 208.3 kB / 353.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.04214, allocations: 42.95 kB / 353.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.04223, allocations: 32.48 kB / 353.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.04223, allocations: 4 kB / 353.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of Templates: time 0.01284/0.05507, allocations: 6.087 MB / 359.9 MB, free: 0.6523 MB / 318.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/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_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.856271989643574]