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.001432/0.001432, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001565/0.001565, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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 2.274e-06/2.274e-06, allocations: 0 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.901e-05/4.129e-05, allocations: 5.266 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006801/0.006842, allocations: 3.285 MB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.009721, allocations: 0.8568 MB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.01036, allocations: 11.94 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.01092, allocations: 83.27 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009999/0.01192, allocations: 154.5 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.01275, allocations: 219.5 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.01401, allocations: 0.6384 MB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/0.01446, allocations: 157.4 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.01528, allocations: 367.3 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.01576, allocations: 211.3 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.01588, allocations: 59.98 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.01599, allocations: 60 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.01613, allocations: 127.5 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.01644, allocations: 199.5 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.01729, allocations: 0.6425 MB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.0173, allocations: 4 kB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.0173, allocations: 0 / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.01732, allocations: 0 / 279.3 MB, free: 10.69 MB / 266.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.001883/0.0192, allocations: 0.7757 MB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.01925, allocations: 12.03 kB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.01946, allocations: 88.61 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.02012, allocations: 284.4 kB / 280.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.02018, allocations: 37.36 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.02028, allocations: 56.38 kB / 280.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.02153, allocations: 0.7616 MB / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.02155, allocations: 192 / 281.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.0216, allocations: 23.94 kB / 281.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.02162, allocations: 15.98 kB / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007345/0.02236, allocations: 319.8 kB / 281.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.02494, allocations: 1.325 MB / 283 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.02556, allocations: 198.5 kB / 283.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.0258, allocations: 92.73 kB / 283.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.02583, allocations: 4 kB / 283.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.02642, allocations: 320.4 kB / 283.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.02642, allocations: 4 kB / 283.6 MB, free: 6.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001629/0.02805, allocations: 482.3 kB / 284 MB, free: 5.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/0.02831, allocations: 316.4 kB / 284.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.02872, allocations: 300.1 kB / 284.6 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.02876, allocations: 33.7 kB / 284.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.02901, allocations: 272.1 kB / 284.9 MB, free: 4.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.02912, allocations: 103.2 kB / 285 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.02928, allocations: 74.06 kB / 285.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.02948, allocations: 346.8 kB / 285.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.02977, allocations: 126.4 kB / 285.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.03042, allocations: 0.535 MB / 286.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.03106, allocations: 342.8 kB / 286.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.03107, allocations: 4 kB / 286.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001437/0.03251, allocations: 0.5704 MB / 287 MB, free: 2.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.03256, allocations: 33.7 kB / 287.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.03257, allocations: 0 / 287.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.03372, allocations: 218.3 kB / 287.3 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.03393, allocations: 47.91 kB / 287.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.0394, allocations: 4.554 MB / 291.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.03985, allocations: 59.7 kB / 291.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.03988, allocations: 16 kB / 291.9 MB, free: 13.05 MB / 282.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.0002971/0.04018, allocations: 165.8 kB / 292.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.04027, allocations: 44 kB / 292.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.04035, allocations: 34.98 kB / 292.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.04035, allocations: 4 kB / 292.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.04037, allocations: 8 kB / 292.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.04038, allocations: 3.984 kB / 292.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.04078, allocations: 289.1 kB / 292.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.04079, allocations: 0 / 292.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.04098, allocations: 35.92 kB / 292.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006075/0.04159, allocations: 143.3 kB / 292.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.04161, allocations: 4 kB / 292.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005349/0.04696, allocations: 5.248 MB / 297.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.04696, allocations: 0 / 297.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.04796, allocations: 373.2 kB / 298.3 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.04804, allocations: 31.73 kB / 298.3 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.04809, allocations: 8 kB / 298.3 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.04837, allocations: 35.97 kB / 298.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.04853, allocations: 47.92 kB / 298.4 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.04856, allocations: 15.98 kB / 298.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003075/0.04887, allocations: 211.1 kB / 298.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04887, allocations: 0 / 298.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.04959, allocations: 151.7 kB / 298.8 MB, free: 5.746 MB / 282.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 0.0001852/0.04977, allocations: 115.2 kB / 298.9 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.05121, allocations: 0.7239 MB / 299.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.05122, allocations: 0 / 299.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.05209, allocations: 0.5726 MB / 300.2 MB, free: 4.215 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.05247, allocations: 65.19 kB / 300.2 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.0542, allocations: 0.6729 MB / 300.9 MB, free: 3.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.05445, allocations: 212.3 kB / 301.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.05462, allocations: 35.02 kB / 301.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.05472, allocations: 40.48 kB / 301.2 MB, free: 3.141 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05472, allocations: 4 kB / 301.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of Templates: time 0.1356/0.1903, allocations: 6.108 MB / 307.3 MB, free: 40.92 MB / 282.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] Reference file matches [Calling sys.exit(0), Time elapsed: 4.68151957297232]