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.0008022/0.0008022, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.007049/0.007049, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.8323/0.8323, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.513e-06/1.513e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.667e-05, allocations: 2.281 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.002746/0.002763, allocations: 3.289 MB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.003699, allocations: 0.8686 MB / 330 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.003833, allocations: 11.94 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.003979, allocations: 71.28 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.004229, allocations: 162.5 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.00452, allocations: 207.5 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.004925, allocations: 0.6501 MB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.005133, allocations: 149.4 kB / 331.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.005371, allocations: 367.3 kB / 331.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.005573, allocations: 215.3 kB / 331.8 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.00563, allocations: 56 kB / 331.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.005676, allocations: 60 kB / 331.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.005744, allocations: 131.5 kB / 332 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.005875, allocations: 195.6 kB / 332.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.006291, allocations: 0.6464 MB / 332.9 MB, free: 8.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006293, allocations: 4 kB / 332.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006294, allocations: 0 / 332.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006299, allocations: 0 / 332.9 MB, free: 8.242 MB / 298.7 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.0009105/0.007209, allocations: 0.7757 MB / 333.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.007242, allocations: 8.031 kB / 333.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.007314, allocations: 64.61 kB / 333.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.007619, allocations: 280.4 kB / 334 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.007644, allocations: 37.38 kB / 334 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.007682, allocations: 40.38 kB / 334.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.008271, allocations: 0.7655 MB / 334.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.008284, allocations: 12.12 kB / 334.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.008316, allocations: 23.92 kB / 334.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.008324, allocations: 12 kB / 334.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.008705, allocations: 319.8 kB / 335.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.009968, allocations: 1.302 MB / 336.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.01028, allocations: 202.4 kB / 336.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.01039, allocations: 80.81 kB / 336.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.01041, allocations: 4 kB / 336.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.01069, allocations: 316.5 kB / 337.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.222e-06/0.01069, allocations: 4 kB / 337.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007636/0.01145, allocations: 474.3 kB / 337.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.01155, allocations: 320.4 kB / 337.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.01178, allocations: 304.1 kB / 338.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.0118, allocations: 37.7 kB / 338.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01193, allocations: 272.1 kB / 338.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.01197, allocations: 95.17 kB / 338.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.01205, allocations: 82.05 kB / 338.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.01213, allocations: 342.8 kB / 339 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.01228, allocations: 126.4 kB / 339.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.01255, allocations: 0.5389 MB / 339.6 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.01291, allocations: 330.8 kB / 339.9 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01291, allocations: 4 kB / 340 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000902/0.01381, allocations: 0.5587 MB / 340.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.01384, allocations: 33.7 kB / 340.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01384, allocations: 7.938 kB / 340.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.01417, allocations: 170.4 kB / 340.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.01427, allocations: 43.92 kB / 340.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.01655, allocations: 4.534 MB / 345.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.01672, allocations: 59.89 kB / 345.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01673, allocations: 20 kB / 345.4 MB, free: 10.76 MB / 314.7 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.0001172/0.01685, allocations: 165.8 kB / 345.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.01688, allocations: 35.81 kB / 345.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.01691, allocations: 34.98 kB / 345.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01691, allocations: 0 / 345.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01691, allocations: 4 kB / 345.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.01692, allocations: 0 / 345.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.01713, allocations: 293 kB / 345.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01713, allocations: 0 / 345.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.01721, allocations: 39.92 kB / 345.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001511/0.01736, allocations: 99.36 kB / 346 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01738, allocations: 7.984 kB / 346 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.01966, allocations: 5.237 MB / 351.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01966, allocations: 0 / 351.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.02005, allocations: 364 kB / 351.6 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.02008, allocations: 39.8 kB / 351.7 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.0201, allocations: 8 kB / 351.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.02022, allocations: 27.97 kB / 351.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.02028, allocations: 31.94 kB / 351.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.02029, allocations: 12 kB / 351.7 MB, free: 3.898 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.02043, allocations: 211 kB / 352 MB, free: 3.691 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02043, allocations: 0 / 352 MB, free: 3.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.02076, allocations: 151.7 kB / 352.1 MB, free: 3.543 MB / 314.7 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 9.588e-05/0.02085, allocations: 111.2 kB / 352.2 MB, free: 3.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.02152, allocations: 0.7313 MB / 352.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.02152, allocations: 4 kB / 352.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.02186, allocations: 0.5707 MB / 353.5 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.02208, allocations: 61.84 kB / 353.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.02281, allocations: 0.6812 MB / 354.3 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.02292, allocations: 208.2 kB / 354.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.02298, allocations: 36.48 kB / 354.5 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02298, allocations: 0 / 354.5 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of Templates: time 0.007446/0.03042, allocations: 10.61 MB / 365.1 MB, free: 6.363 MB / 330.7 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] "" 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: 4.987566947005689]