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.001271/0.001271, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001668/0.001668, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.614/1.614, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+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 0.001538/0.001538, allocations: 47.91 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3959, allocations: 53.36 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004967/0.4009, allocations: 3.295 MB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.4027, allocations: 0.8453 MB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.4029, allocations: 12 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.4032, allocations: 79.2 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.4036, allocations: 150.7 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.404, allocations: 195.7 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.4047, allocations: 0.6193 MB / 437.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.405, allocations: 169.3 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.4053, allocations: 243.2 kB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.4057, allocations: 290.8 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.4058, allocations: 56 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.4059, allocations: 60 kB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.406, allocations: 135.5 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.4063, allocations: 227.1 kB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000717/0.407, allocations: 0.6216 MB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.407, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.407, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.407, allocations: 3.938 kB / 439.3 MB, free: 15.7 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.001718/0.4087, allocations: 0.7836 MB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4088, allocations: 8.031 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.4089, allocations: 60.59 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.4095, allocations: 284.7 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.4095, allocations: 41.31 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.4096, allocations: 48.38 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.4108, allocations: 0.7611 MB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4108, allocations: 3.938 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.4108, allocations: 24 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.4109, allocations: 12 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.4115, allocations: 311.8 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.414, allocations: 1.308 MB / 443 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.4146, allocations: 198.5 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.4148, allocations: 92.75 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.4148, allocations: 4 kB / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.4153, allocations: 320.5 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.4153, allocations: 0 / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00152/0.4169, allocations: 470.3 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/0.4171, allocations: 324.4 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.4175, allocations: 300.1 kB / 444.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.4175, allocations: 33.7 kB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.4178, allocations: 276.1 kB / 444.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.4179, allocations: 99.2 kB / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.418, allocations: 82.02 kB / 445.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.4182, allocations: 342.8 kB / 445.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.4185, allocations: 126.4 kB / 445.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.4191, allocations: 0.535 MB / 446.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.4197, allocations: 335.1 kB / 446.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4197, allocations: 4.031 kB / 446.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001205/0.4209, allocations: 0.5587 MB / 447 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.4209, allocations: 37.7 kB / 447 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4209, allocations: 7.938 kB / 447 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006908/0.4216, allocations: 166.4 kB / 447.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4218, allocations: 47.91 kB / 447.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.4263, allocations: 4.538 MB / 451.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.4268, allocations: 63.7 kB / 451.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.4268, allocations: 12 kB / 451.9 MB, free: 2.199 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.0002772/0.4271, allocations: 173.7 kB / 452 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.4271, allocations: 31.81 kB / 452.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.771e-05/0.4272, allocations: 38.98 kB / 452.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4272, allocations: 0 / 452.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.4272, allocations: 4 kB / 452.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4272, allocations: 0 / 452.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.4276, allocations: 297.1 kB / 452.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4276, allocations: 0 / 452.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4278, allocations: 27.98 kB / 452.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.4282, allocations: 111.3 kB / 452.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.4282, allocations: 3.984 kB / 452.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/0.4327, allocations: 5.24 MB / 457.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4327, allocations: 4.062 kB / 457.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.4335, allocations: 360.9 kB / 458.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.4336, allocations: 31.73 kB / 458.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.4336, allocations: 12 kB / 458.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.4339, allocations: 31.97 kB / 458.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.434, allocations: 47.92 kB / 458.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.434, allocations: 15.98 kB / 458.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.4343, allocations: 207.1 kB / 458.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4343, allocations: 0 / 458.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.4349, allocations: 151.7 kB / 458.6 MB, free: 10.95 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.0001693/0.4351, allocations: 125.9 kB / 458.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.4364, allocations: 0.7278 MB / 459.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4364, allocations: 3.938 kB / 459.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.4372, allocations: 0.5728 MB / 460 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4375, allocations: 61.44 kB / 460.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4389, allocations: 0.6718 MB / 460.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.4391, allocations: 212.2 kB / 461 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.4393, allocations: 38.95 kB / 461 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.4394, allocations: 39.42 kB / 461.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4394, allocations: 0 / 461.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of Templates: time 0.01295/0.4523, allocations: 6.667 MB / 467.7 MB, free: 1.75 MB / 366.1 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 -s cvode -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/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_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: 5.437288843997521]