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.001528/0.001528, allocations: 85.36 kB / 20.68 MB, free: 1.035 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.001558/0.001558, allocations: 163.5 kB / 23.95 MB, free: 4.168 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.483/1.483, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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 1.954e-06/1.954e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.91e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004754/0.004783, allocations: 3.295 MB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.006908, allocations: 0.8635 MB / 329.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.007334, allocations: 7.594 kB / 329.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.007642, allocations: 84.61 kB / 329.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006034/0.008245, allocations: 151.2 kB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.008852, allocations: 218.1 kB / 329.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009101/0.009762, allocations: 0.64 MB / 330.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.01011, allocations: 152.3 kB / 330.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.01075, allocations: 367.3 kB / 330.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.01111, allocations: 218.4 kB / 331.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.0112, allocations: 57.47 kB / 331.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.0113, allocations: 57.5 kB / 331.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.01143, allocations: 131.1 kB / 331.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.01168, allocations: 204.9 kB / 331.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.01242, allocations: 0.6371 MB / 332.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.01243, allocations: 1.312 kB / 332.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01243, allocations: 0 / 332.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.01244, allocations: 0 / 332.2 MB, free: 12.02 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.001606/0.01404, allocations: 0.7806 MB / 332.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.01408, allocations: 9.875 kB / 332.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.0142, allocations: 56.92 kB / 333 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.01468, allocations: 285.8 kB / 333.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.01472, allocations: 40.19 kB / 333.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.01479, allocations: 43.34 kB / 333.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.01584, allocations: 0.767 MB / 334.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.01585, allocations: 192 / 334.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.01591, allocations: 25.69 kB / 334.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.01592, allocations: 10.25 kB / 334.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006822/0.0166, allocations: 317 kB / 334.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.01889, allocations: 1.306 MB / 335.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.01943, allocations: 200.2 kB / 336 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.01966, allocations: 83.97 kB / 336.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.01969, allocations: 3.5 kB / 336.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005679/0.02025, allocations: 323.4 kB / 336.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.02026, allocations: 0 / 336.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001609/0.02186, allocations: 473.4 kB / 336.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/0.02207, allocations: 312.8 kB / 337.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.02245, allocations: 306.5 kB / 337.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.02249, allocations: 32.92 kB / 337.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.02271, allocations: 276.2 kB / 337.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/0.0228, allocations: 103 kB / 337.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.02294, allocations: 78.59 kB / 337.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.02312, allocations: 341.6 kB / 338.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.02339, allocations: 127 kB / 338.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.02398, allocations: 0.5395 MB / 338.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.02459, allocations: 335.1 kB / 339.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02459, allocations: 3.938 kB / 339.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001311/0.0259, allocations: 0.5637 MB / 339.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.02595, allocations: 37.69 kB / 339.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02596, allocations: 4 kB / 339.9 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/0.02662, allocations: 158.4 kB / 340 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.02684, allocations: 51.91 kB / 340.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004782/0.03162, allocations: 4.531 MB / 344.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.03202, allocations: 63.7 kB / 344.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.03205, allocations: 16 kB / 344.7 MB, free: 0.5938 MB / 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.0002479/0.0323, allocations: 170.4 kB / 344.8 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.03236, allocations: 31.81 kB / 344.9 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.03242, allocations: 34.98 kB / 344.9 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.03243, allocations: 4 kB / 344.9 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.03244, allocations: 4 kB / 344.9 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.03244, allocations: 3.938 kB / 344.9 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.0329, allocations: 289 kB / 345.2 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.03291, allocations: 4 kB / 345.2 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.03312, allocations: 32.2 kB / 345.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/0.03347, allocations: 103.3 kB / 345.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.0335, allocations: 12 kB / 345.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/0.0382, allocations: 5.241 MB / 350.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0382, allocations: 0 / 350.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.03903, allocations: 356 kB / 350.9 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.03911, allocations: 31.75 kB / 351 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.03917, allocations: 15.98 kB / 351 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.03944, allocations: 27.98 kB / 351 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.03957, allocations: 55.91 kB / 351.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.03959, allocations: 7.984 kB / 351.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.03984, allocations: 211.1 kB / 351.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03984, allocations: 0 / 351.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006536/0.04049, allocations: 155.7 kB / 351.4 MB, free: 9.352 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.0001712/0.04067, allocations: 110.2 kB / 351.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.04203, allocations: 0.7352 MB / 352.3 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.04204, allocations: 4 kB / 352.3 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008089/0.04285, allocations: 0.567 MB / 352.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.0432, allocations: 56.98 kB / 352.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.0445, allocations: 0.6626 MB / 353.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.04472, allocations: 212.3 kB / 353.8 MB, free: 6.844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.04487, allocations: 38.97 kB / 353.8 MB, free: 6.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.04496, allocations: 32.5 kB / 353.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.04496, allocations: 0 / 353.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of Templates: time 0.01298/0.05793, allocations: 6.081 MB / 359.9 MB, free: 0.7734 MB / 318.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.602783378213644]