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.00154/0.00154, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.001744/0.001744, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.48/1.48, allocations: 230.2 MB / 254.5 MB, free: 15.42 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1126, allocations: 53.32 MB / 426.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005134/0.1177, allocations: 3.617 MB / 430.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1194, allocations: 0.8959 MB / 431.2 MB, free: 452 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1196, allocations: 11.94 kB / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.1198, allocations: 83.2 kB / 431.3 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.1202, allocations: 146.7 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.1207, allocations: 199.6 kB / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006921/0.1214, allocations: 0.6154 MB / 432.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1217, allocations: 160.8 kB / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.122, allocations: 243.2 kB / 432.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.1223, allocations: 290.8 kB / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.1224, allocations: 56 kB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.1225, allocations: 60 kB / 433.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1226, allocations: 131.6 kB / 433.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.1229, allocations: 274.7 kB / 433.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.1236, allocations: 0.6225 MB / 434.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1236, allocations: 4 kB / 434.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1236, allocations: 0 / 434.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1236, allocations: 0 / 434.1 MB, free: 13.56 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.001597/0.1252, allocations: 0.855 MB / 434.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1253, allocations: 8.031 kB / 434.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.1254, allocations: 86.7 kB / 435 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1255, allocations: 60.61 kB / 435.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.1261, allocations: 342.5 kB / 435.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.1261, allocations: 37.38 kB / 435.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.1262, allocations: 48.12 kB / 435.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/0.1271, allocations: 0.514 MB / 436 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1271, allocations: 0 / 436 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.1272, allocations: 20 kB / 436 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.1272, allocations: 8 kB / 436 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.1281, allocations: 315.8 kB / 436.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1305, allocations: 1.558 MB / 437.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.131, allocations: 194.4 kB / 438.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1312, allocations: 84.81 kB / 438.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1312, allocations: 4 kB / 438.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.1317, allocations: 221.6 kB / 438.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/0.1317, allocations: 0 / 438.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001597/0.1333, allocations: 0.7722 MB / 439.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/0.1335, allocations: 324.4 kB / 439.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1338, allocations: 299 kB / 439.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.1339, allocations: 33.7 kB / 439.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1341, allocations: 276.1 kB / 440.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.1342, allocations: 103.2 kB / 440.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1343, allocations: 78.02 kB / 440.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1345, allocations: 342.8 kB / 440.6 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1347, allocations: 100.6 kB / 440.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.1351, allocations: 265.5 kB / 441 MB, free: 6.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/0.136, allocations: 330.2 kB / 441.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.136, allocations: 0 / 441.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001723/0.1377, allocations: 0.5336 MB / 441.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.1377, allocations: 39.98 kB / 441.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1378, allocations: 0 / 441.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009122/0.1387, allocations: 174.4 kB / 442 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.139, allocations: 47.91 kB / 442.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2637/0.4026, allocations: 4.919 MB / 447 MB, free: 23.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.4032, allocations: 65.39 kB / 447 MB, free: 23.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.4033, allocations: 13.16 kB / 447.1 MB, free: 23.26 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.0003157/0.4036, allocations: 170.2 kB / 447.2 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4037, allocations: 34.55 kB / 447.3 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.514e-05/0.4038, allocations: 37.27 kB / 447.3 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4038, allocations: 3.797 kB / 447.3 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4038, allocations: 5.281 kB / 447.3 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4038, allocations: 4.094 kB / 447.3 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.4044, allocations: 429.2 kB / 447.7 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4044, allocations: 0 / 447.7 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.4046, allocations: 34.91 kB / 447.8 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.4049, allocations: 106 kB / 447.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.4049, allocations: 6.438 kB / 447.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.4081, allocations: 5.754 MB / 453.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4081, allocations: 0 / 453.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.4088, allocations: 370.7 kB / 454 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.4089, allocations: 111.6 kB / 454.1 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.4089, allocations: 5.938 kB / 454.1 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.4092, allocations: 34.41 kB / 454.1 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4093, allocations: 58.48 kB / 454.2 MB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4093, allocations: 6.688 kB / 454.2 MB, free: 17.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.4096, allocations: 217.7 kB / 454.4 MB, free: 17.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4096, allocations: 0 / 454.4 MB, free: 17.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006526/0.4102, allocations: 150.6 kB / 454.6 MB, free: 17.11 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.0009922/0.4112, allocations: 0.9022 MB / 455.5 MB, free: 16.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.4125, allocations: 0.7004 MB / 456.2 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.4125, allocations: 1.781 kB / 456.2 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.4132, allocations: 0.5739 MB / 456.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.4137, allocations: 59.56 kB / 456.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.4198, allocations: 3.492 MB / 460.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4202, allocations: 0.809 MB / 461.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.4204, allocations: 42.89 kB / 461.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.4206, allocations: 147 kB / 461.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 1.854e-06/0.4206, allocations: 0 / 461.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06329/0.4839, allocations: 9.3 MB / 470.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.83, allocations: 21.22 kB / 470.6 MB, free: 11.17 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --stepSize=1e-10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.223771331831813] Failed to read output from testmodel.py, exit status != 0: 10.916251205373555 10.929082717 10.803115333 Calling exit ...