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.001087/0.001087, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001035/0.001035, allocations: 164.2 kB / 24.91 MB, free: 8.758 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.9506/0.9506, allocations: 177 MB / 205.2 MB, free: 5.047 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.262e-06/1.262e-06, allocations: 0 / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.076e-05, allocations: 10.19 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003358/0.003379, allocations: 3.573 MB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.00476, allocations: 0.9033 MB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.00493, allocations: 8 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.005077, allocations: 79.22 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.00536, allocations: 158.6 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.005666, allocations: 203.6 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.006125, allocations: 0.6462 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.00632, allocations: 159.3 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.006632, allocations: 371.2 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.006841, allocations: 215.4 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.006899, allocations: 56 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.188e-05/0.006951, allocations: 60 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.007019, allocations: 135.5 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.007148, allocations: 199.5 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.007487, allocations: 426.5 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.007491, allocations: 0 / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007492, allocations: 0 / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.007498, allocations: 0 / 280.6 MB, free: 9.797 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.0008213/0.00832, allocations: 0.7626 MB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.008353, allocations: 12.03 kB / 281.4 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.00844, allocations: 88.86 kB / 281.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.008704, allocations: 229.2 kB / 281.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.008729, allocations: 37.38 kB / 281.7 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.008768, allocations: 44.38 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.009198, allocations: 0.6404 MB / 282.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.00921, allocations: 4.172 kB / 282.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.009242, allocations: 23.94 kB / 282.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.009253, allocations: 12 kB / 282.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.00939, allocations: 111 kB / 282.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.01056, allocations: 1.152 MB / 283.7 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.01074, allocations: 134.4 kB / 283.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.01078, allocations: 44.83 kB / 283.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.0108, allocations: 4 kB / 283.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.01099, allocations: 264.4 kB / 284.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.01099, allocations: 0 / 284.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005164/0.01151, allocations: 315.3 kB / 284.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.0116, allocations: 316.4 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.01175, allocations: 270.8 kB / 285 MB, free: 4.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.01177, allocations: 33.7 kB / 285.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.01187, allocations: 256.5 kB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.01191, allocations: 95.19 kB / 285.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.01199, allocations: 85.92 kB / 285.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.01206, allocations: 350.7 kB / 285.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.01212, allocations: 58.44 kB / 285.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.01232, allocations: 484 kB / 286.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.01247, allocations: 230.8 kB / 286.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01248, allocations: 4 kB / 286.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003763/0.01285, allocations: 388.3 kB / 287 MB, free: 2.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.01288, allocations: 33.7 kB / 287 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01289, allocations: 0 / 287 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.01329, allocations: 186.4 kB / 287.2 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.0134, allocations: 55.91 kB / 287.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1186/0.132, allocations: 4.032 MB / 291.3 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.1324, allocations: 57.19 kB / 291.3 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.1324, allocations: 13.59 kB / 291.4 MB, free: 23.69 MB / 266.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.0002219/0.1327, allocations: 136.8 kB / 291.5 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.1327, allocations: 33.88 kB / 291.5 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.1328, allocations: 37.7 kB / 291.6 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1328, allocations: 3.781 kB / 291.6 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.1328, allocations: 1.984 kB / 291.6 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1328, allocations: 3.281 kB / 291.6 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.1331, allocations: 201.4 kB / 291.8 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1331, allocations: 0.75 kB / 291.8 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1334, allocations: 47.66 kB / 291.8 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/0.1337, allocations: 128.9 kB / 291.9 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1338, allocations: 7.547 kB / 291.9 MB, free: 23.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.1355, allocations: 4.864 MB / 296.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1355, allocations: 3.844 kB / 296.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.1359, allocations: 234.4 kB / 297 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1359, allocations: 30 kB / 297.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.136, allocations: 6.891 kB / 297.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1361, allocations: 30.41 kB / 297.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.1362, allocations: 59.08 kB / 297.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1362, allocations: 12.52 kB / 297.2 MB, free: 18.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1364, allocations: 98.02 kB / 297.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1364, allocations: 1.188 kB / 297.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005359/0.1369, allocations: 150.7 kB / 297.4 MB, free: 18.69 MB / 266.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.0001427/0.1371, allocations: 91.92 kB / 297.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000573/0.1376, allocations: 0.6334 MB / 298.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.1376, allocations: 4.719 kB / 298.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.138, allocations: 0.551 MB / 298.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1382, allocations: 58.44 kB / 298.8 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1393, allocations: 0.6588 MB / 299.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.494e-05/0.1394, allocations: 107.4 kB / 299.5 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.1395, allocations: 42.44 kB / 299.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.1397, allocations: 138.5 kB / 299.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1397, allocations: 1.094 kB / 299.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of Templates: time 0.01026/0.15, allocations: 6.509 MB / 306.2 MB, free: 15.64 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8134885649196804]