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.001495/0.001495, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00163/0.00163, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001599/0.001599, allocations: 51.91 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3052, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005133/0.3104, allocations: 3.284 MB / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3122, allocations: 0.8488 MB / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3124, allocations: 8 kB / 435.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.3127, allocations: 87.2 kB / 435.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.313, allocations: 142.7 kB / 436 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.3135, allocations: 203.6 kB / 436.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006739/0.3142, allocations: 0.6193 MB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.3145, allocations: 149.4 kB / 436.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.3147, allocations: 247.2 kB / 437.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.3151, allocations: 250.8 kB / 437.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.3152, allocations: 56 kB / 437.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3153, allocations: 60 kB / 437.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3155, allocations: 131.5 kB / 437.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.3157, allocations: 235 kB / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.3164, allocations: 0.6172 MB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3164, allocations: 0 / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3164, allocations: 4 kB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.3164, allocations: 0 / 438.5 MB, free: 15.76 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.001625/0.3181, allocations: 0.7874 MB / 439.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3181, allocations: 12.02 kB / 439.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.3182, allocations: 56.61 kB / 439.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.3188, allocations: 284.7 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.3188, allocations: 33.38 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.3189, allocations: 48.38 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3201, allocations: 0.7688 MB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3201, allocations: 0 / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.3202, allocations: 20 kB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3202, allocations: 8 kB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.3209, allocations: 319.8 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.3234, allocations: 1.312 MB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.3239, allocations: 194.5 kB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.3242, allocations: 88.75 kB / 442.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.3242, allocations: 4 kB / 442.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.3247, allocations: 328.4 kB / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.3247, allocations: 0 / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001574/0.3263, allocations: 470.3 kB / 443.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002863/0.3266, allocations: 316.4 kB / 443.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.327, allocations: 308.1 kB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.327, allocations: 33.7 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.3273, allocations: 280.1 kB / 444.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.3274, allocations: 91.22 kB / 444.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.3276, allocations: 82.02 kB / 444.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3277, allocations: 342.8 kB / 444.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.328, allocations: 130.4 kB / 444.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.3285, allocations: 0.535 MB / 445.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.3291, allocations: 327.1 kB / 445.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3291, allocations: 3.938 kB / 445.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001144/0.3302, allocations: 0.5588 MB / 446.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.3303, allocations: 33.7 kB / 446.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3303, allocations: 7.938 kB / 446.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.3309, allocations: 166.4 kB / 446.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.3311, allocations: 47.91 kB / 446.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/0.3357, allocations: 4.546 MB / 451 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.3361, allocations: 59.7 kB / 451 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.3361, allocations: 16 kB / 451.1 MB, free: 2.262 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.0002326/0.3364, allocations: 169.8 kB / 451.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3364, allocations: 39.81 kB / 451.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.3365, allocations: 34.98 kB / 451.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3365, allocations: 4 kB / 451.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3365, allocations: 4 kB / 451.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3365, allocations: 3.984 kB / 451.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.3369, allocations: 285 kB / 451.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.3369, allocations: 4 kB / 451.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.3371, allocations: 31.98 kB / 451.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.3374, allocations: 103.3 kB / 451.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.3374, allocations: 11.98 kB / 451.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.3417, allocations: 5.236 MB / 457 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3417, allocations: 3.938 kB / 457 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.3426, allocations: 369.2 kB / 457.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.3426, allocations: 31.73 kB / 457.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.3427, allocations: 12 kB / 457.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.343, allocations: 31.97 kB / 457.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.3431, allocations: 51.92 kB / 457.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3431, allocations: 11.98 kB / 457.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.3434, allocations: 211.1 kB / 457.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3434, allocations: 0 / 457.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006556/0.3441, allocations: 151.7 kB / 457.8 MB, free: 11 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.0002047/0.3443, allocations: 119.1 kB / 457.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.3456, allocations: 0.7202 MB / 458.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3456, allocations: 4 kB / 458.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.3464, allocations: 0.5728 MB / 459.2 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3468, allocations: 57.3 kB / 459.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.348, allocations: 0.6795 MB / 460 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.3482, allocations: 208.2 kB / 460.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.3484, allocations: 39 kB / 460.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.3485, allocations: 35.36 kB / 460.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3485, allocations: 4 kB / 460.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of Templates: time 0.01288/0.3613, allocations: 6.57 MB / 466.8 MB, free: 1.914 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 -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/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_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: 4.905434174463153]