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.001409/0.001409, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001503/0.001503, allocations: 170.8 kB / 24.5 MB, free: 3.453 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.444/1.444, allocations: 177.2 MB / 204.9 MB, free: 9.055 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 0.001553/0.001553, allocations: 51.16 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1008, allocations: 53.35 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004755/0.1056, allocations: 3.274 MB / 382.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1072, allocations: 0.8492 MB / 383.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1073, allocations: 11.94 kB / 383.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1076, allocations: 79.22 kB / 383.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.1079, allocations: 150.7 kB / 383.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.1083, allocations: 199.7 kB / 383.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.109, allocations: 0.6193 MB / 384.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.1093, allocations: 153.3 kB / 384.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.1095, allocations: 251.2 kB / 384.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.11, allocations: 254.8 kB / 384.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1101, allocations: 56 kB / 384.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1102, allocations: 60 kB / 384.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1103, allocations: 119.6 kB / 385 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.1106, allocations: 235 kB / 385.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.1114, allocations: 0.6187 MB / 385.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1114, allocations: 0 / 385.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1114, allocations: 4 kB / 385.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1114, allocations: 0 / 385.8 MB, free: 8.738 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.001619/0.113, allocations: 0.7952 MB / 386.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.113, allocations: 8.031 kB / 386.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1131, allocations: 56.61 kB / 386.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.1136, allocations: 281.2 kB / 387 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.1137, allocations: 37.31 kB / 387 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.1138, allocations: 44.38 kB / 387.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1148, allocations: 0.7689 MB / 387.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1148, allocations: 3.938 kB / 387.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.1148, allocations: 20 kB / 387.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1149, allocations: 15.94 kB / 387.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.1156, allocations: 311.8 kB / 388.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.1178, allocations: 1.309 MB / 389.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.1183, allocations: 198.5 kB / 389.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.1185, allocations: 89.45 kB / 389.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1186, allocations: 7.938 kB / 389.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.1191, allocations: 321.4 kB / 390.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.1191, allocations: 0 / 390.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001494/0.1206, allocations: 470.3 kB / 390.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.1208, allocations: 320.4 kB / 390.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.1212, allocations: 312.1 kB / 391.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.1212, allocations: 33.7 kB / 391.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.1214, allocations: 272.1 kB / 391.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.1215, allocations: 95.2 kB / 391.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1216, allocations: 82.02 kB / 391.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1218, allocations: 342.8 kB / 392 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.1221, allocations: 130.4 kB / 392.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.1226, allocations: 0.535 MB / 392.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.1232, allocations: 335.1 kB / 392.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1232, allocations: 0 / 392.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001183/0.1244, allocations: 0.5588 MB / 393.5 MB, free: 420 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.1244, allocations: 33.7 kB / 393.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1244, allocations: 11.88 kB / 393.6 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.1251, allocations: 170.4 kB / 393.7 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1253, allocations: 43.92 kB / 393.8 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.1297, allocations: 4.531 MB / 398.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.1301, allocations: 67.77 kB / 398.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.1301, allocations: 16 kB / 398.4 MB, free: 11.23 MB / 366.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.0002197/0.1303, allocations: 169.1 kB / 398.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.1304, allocations: 31.81 kB / 398.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.1304, allocations: 42.98 kB / 398.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1304, allocations: 0 / 398.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1304, allocations: 4.188 kB / 398.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1305, allocations: 3.984 kB / 398.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.1308, allocations: 289 kB / 398.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1308, allocations: 0 / 398.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.131, allocations: 35.97 kB / 398.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.1313, allocations: 107.3 kB / 399 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1313, allocations: 8 kB / 399 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.1356, allocations: 5.237 MB / 404.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1356, allocations: 0 / 404.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.1364, allocations: 369.2 kB / 404.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.1365, allocations: 31.73 kB / 404.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.1365, allocations: 8 kB / 404.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1368, allocations: 31.97 kB / 404.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1369, allocations: 55.91 kB / 404.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1369, allocations: 8 kB / 404.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.1372, allocations: 211.1 kB / 405 MB, free: 4.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1372, allocations: 0 / 405 MB, free: 4.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005657/0.1377, allocations: 151.7 kB / 405.1 MB, free: 3.977 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.0001518/0.1379, allocations: 119.1 kB / 405.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.1391, allocations: 0.7202 MB / 406 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1391, allocations: 4.344 kB / 406 MB, free: 3.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.1399, allocations: 0.5807 MB / 406.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1402, allocations: 58.09 kB / 406.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1414, allocations: 0.6871 MB / 407.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.1416, allocations: 212.3 kB / 407.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1418, allocations: 34.97 kB / 407.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.094e-05/0.1418, allocations: 32.48 kB / 407.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1418, allocations: 0 / 407.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of Templates: time 0.01195/0.1538, allocations: 6.089 MB / 413.7 MB, free: 11.37 MB / 382.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 ida -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: 4.511184667004272]