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.001272/0.001272, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 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.001417/0.001417, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.477/1.477, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.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="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 64.14 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09904, allocations: 53.33 MB / 427.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004922/0.104, allocations: 3.62 MB / 431.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1057, allocations: 0.892 MB / 432.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.1059, allocations: 8 kB / 432.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1062, allocations: 83.2 kB / 432.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.1065, allocations: 146.7 kB / 432.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.107, allocations: 203.6 kB / 432.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.1077, allocations: 0.6115 MB / 433.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.108, allocations: 164.8 kB / 433.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.1083, allocations: 247.1 kB / 433.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.1086, allocations: 290.7 kB / 434.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.316e-05/0.1087, allocations: 60 kB / 434.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.965e-05/0.1088, allocations: 56 kB / 434.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.109, allocations: 119.7 kB / 434.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.1092, allocations: 290.6 kB / 434.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.1099, allocations: 0.6108 MB / 435.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1099, allocations: 0 / 435.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1099, allocations: 0 / 435.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1099, allocations: 4 kB / 435.2 MB, free: 13.07 MB / 366.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.001649/0.1116, allocations: 0.855 MB / 436.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1116, allocations: 8.031 kB / 436.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.1118, allocations: 60.59 kB / 436.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.1123, allocations: 346.5 kB / 436.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.1123, allocations: 37.38 kB / 436.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.1124, allocations: 40.38 kB / 436.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.1133, allocations: 0.5217 MB / 437.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1134, allocations: 3.984 kB / 437.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.1134, allocations: 16 kB / 437.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1134, allocations: 12 kB / 437.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.1142, allocations: 315.8 kB / 437.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.1167, allocations: 1.554 MB / 439 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.1172, allocations: 198.4 kB / 439.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.1175, allocations: 88.8 kB / 439.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1175, allocations: 4 kB / 439.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.1179, allocations: 217.6 kB / 439.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.1179, allocations: 0 / 439.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001701/0.1197, allocations: 0.7722 MB / 440.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.1198, allocations: 316.4 kB / 440.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.1202, allocations: 306.9 kB / 440.9 MB, free: 7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.1203, allocations: 33.7 kB / 440.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.1205, allocations: 272.1 kB / 441.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.1206, allocations: 95.2 kB / 441.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1207, allocations: 89.94 kB / 441.4 MB, free: 6.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1209, allocations: 342.8 kB / 441.7 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1211, allocations: 100.7 kB / 441.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.1215, allocations: 253.5 kB / 442 MB, free: 5.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.1221, allocations: 334.2 kB / 442.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1221, allocations: 0 / 442.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001193/0.1233, allocations: 0.5259 MB / 442.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.1233, allocations: 47.75 kB / 442.9 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1234, allocations: 4 kB / 442.9 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.124, allocations: 166.4 kB / 443.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1242, allocations: 47.91 kB / 443.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/0.307, allocations: 4.922 MB / 448.1 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.3075, allocations: 64.94 kB / 448.1 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.3075, allocations: 16.14 kB / 448.1 MB, free: 23.21 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.000203/0.3077, allocations: 166.7 kB / 448.3 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.3078, allocations: 35.66 kB / 448.3 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.3078, allocations: 41.27 kB / 448.4 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3079, allocations: 2.812 kB / 448.4 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3079, allocations: 1.5 kB / 448.4 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3079, allocations: 2.75 kB / 448.4 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.3083, allocations: 425.1 kB / 448.8 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3083, allocations: 0.5625 kB / 448.8 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3084, allocations: 38.97 kB / 448.8 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.3087, allocations: 103.6 kB / 448.9 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3088, allocations: 8.766 kB / 449 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.3113, allocations: 5.758 MB / 454.7 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3113, allocations: 7.812 kB / 454.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.312, allocations: 354.2 kB / 455.1 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.312, allocations: 115.1 kB / 455.2 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.3121, allocations: 7.125 kB / 455.2 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.3124, allocations: 33.23 kB / 455.2 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.3125, allocations: 38 kB / 455.3 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3125, allocations: 10.28 kB / 455.3 MB, free: 17.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.3127, allocations: 214.3 kB / 455.5 MB, free: 17.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3127, allocations: 3.625 kB / 455.5 MB, free: 17.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.3133, allocations: 150.7 kB / 455.6 MB, free: 17.06 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.0001261/0.3134, allocations: 114.4 kB / 455.7 MB, free: 16.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3144, allocations: 0.7009 MB / 456.4 MB, free: 16.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3144, allocations: 1.062 kB / 456.4 MB, free: 16.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.315, allocations: 0.5682 MB / 457 MB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3153, allocations: 53.78 kB / 457.1 MB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3164, allocations: 0.7149 MB / 457.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3166, allocations: 0.8117 MB / 458.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.3167, allocations: 36.72 kB / 458.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3167, allocations: 0 / 458.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01278/0.3295, allocations: 10.54 MB / 469.2 MB, free: 12.73 MB / 366.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 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.231928647030145] Failed to read output from testmodel.py, exit status != 0: 0.33719380595721304 0.34704099499999996 0.23471310599999995 Calling exit ...