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.001874/0.001874, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002699/0.002699, allocations: 170 kB / 24.5 MB, free: 3.453 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.1 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 0.00197/0.00197, allocations: 62.52 kB / 325.6 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.115, allocations: 53.4 MB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00515/0.1202, allocations: 3.29 MB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1221, allocations: 0.8609 MB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.1223, allocations: 8 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1225, allocations: 75.22 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.1229, allocations: 150.7 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1234, allocations: 195.7 kB / 383.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007102/0.1241, allocations: 0.6154 MB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.1244, allocations: 153.4 kB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.1247, allocations: 247.1 kB / 384.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.125, allocations: 246.9 kB / 384.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.1252, allocations: 60 kB / 384.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.1253, allocations: 56 kB / 384.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1254, allocations: 131.6 kB / 385 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.1257, allocations: 235 kB / 385.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00077/0.1265, allocations: 0.6147 MB / 385.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1265, allocations: 4 kB / 385.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1265, allocations: 0 / 385.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1265, allocations: 0 / 385.9 MB, free: 8.48 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.001672/0.1282, allocations: 0.7913 MB / 386.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1282, allocations: 12.03 kB / 386.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1283, allocations: 56.61 kB / 386.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.1288, allocations: 277.2 kB / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.1289, allocations: 37.38 kB / 387 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.129, allocations: 52.36 kB / 387.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1301, allocations: 0.761 MB / 387.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1301, allocations: 0 / 387.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.1302, allocations: 24 kB / 387.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1302, allocations: 12 kB / 387.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.1309, allocations: 319.8 kB / 388.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.1333, allocations: 1.317 MB / 389.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.1339, allocations: 198.3 kB / 389.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.1341, allocations: 88.81 kB / 389.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1341, allocations: 8 kB / 389.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.1346, allocations: 320.4 kB / 390.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.1346, allocations: 0 / 390.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001439/0.136, allocations: 470.4 kB / 390.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.1362, allocations: 328.3 kB / 390.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1366, allocations: 300.1 kB / 391.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.1366, allocations: 33.7 kB / 391.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.1369, allocations: 276.1 kB / 391.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.618e-05/0.137, allocations: 99.2 kB / 391.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1371, allocations: 82.02 kB / 391.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1373, allocations: 334.8 kB / 392 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.1376, allocations: 130.4 kB / 392.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/0.1382, allocations: 0.5428 MB / 392.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.1388, allocations: 331.4 kB / 393 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1388, allocations: 0 / 393 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001175/0.1399, allocations: 0.5548 MB / 393.5 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.14, allocations: 33.69 kB / 393.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.14, allocations: 7.938 kB / 393.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.1407, allocations: 162.4 kB / 393.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1408, allocations: 51.91 kB / 393.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.1455, allocations: 4.523 MB / 398.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.146, allocations: 67.77 kB / 398.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.146, allocations: 19.94 kB / 398.4 MB, free: 10.98 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.0002488/0.1463, allocations: 165.7 kB / 398.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.1463, allocations: 31.81 kB / 398.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.1464, allocations: 38.98 kB / 398.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1464, allocations: 4 kB / 398.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1464, allocations: 0 / 398.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1464, allocations: 4 kB / 398.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.1468, allocations: 293.2 kB / 398.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1468, allocations: 4 kB / 398.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.1469, allocations: 39.91 kB / 399 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/0.1473, allocations: 107.3 kB / 399.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1474, allocations: 8 kB / 399.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.152, allocations: 5.237 MB / 404.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.152, allocations: 0 / 404.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.1529, allocations: 361.2 kB / 404.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.153, allocations: 35.69 kB / 404.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.153, allocations: 11.98 kB / 404.7 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1533, allocations: 27.98 kB / 404.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.1535, allocations: 52.05 kB / 404.8 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.1535, allocations: 11.98 kB / 404.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.1538, allocations: 215.1 kB / 405 MB, free: 3.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1538, allocations: 0 / 405 MB, free: 3.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006745/0.1544, allocations: 147.7 kB / 405.2 MB, free: 3.727 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.0001763/0.1546, allocations: 115.1 kB / 405.3 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.1559, allocations: 0.7272 MB / 406 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1559, allocations: 0 / 406 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.1568, allocations: 0.5777 MB / 406.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1571, allocations: 48.89 kB / 406.6 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1585, allocations: 0.6872 MB / 407.3 MB, free: 1.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1587, allocations: 208.3 kB / 407.5 MB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.1589, allocations: 42.95 kB / 407.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.1589, allocations: 32.5 kB / 407.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1589, allocations: 0 / 407.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of Templates: time 0.01514/0.1741, allocations: 6.111 MB / 413.7 MB, free: 11.1 MB / 382.1 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 -s ida -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/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_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.7211845859419554]