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.001271/0.001271, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 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.001305/0.001305, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.467/1.467, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 51.92 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1076, allocations: 53.33 MB / 427 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006029/0.1137, allocations: 3.622 MB / 430.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1159, allocations: 0.8959 MB / 431.6 MB, free: 204 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.1164, allocations: 7.938 kB / 431.6 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.1168, allocations: 83.2 kB / 431.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2152/0.332, allocations: 141.4 kB / 431.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.3328, allocations: 194.5 kB / 432 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008403/0.3336, allocations: 0.6183 MB / 432.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3339, allocations: 162.2 kB / 432.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.3342, allocations: 247.8 kB / 433 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.3345, allocations: 285.5 kB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.3346, allocations: 58.72 kB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/0.3347, allocations: 61 kB / 433.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.3347, allocations: 126.9 kB / 433.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3349, allocations: 281 kB / 433.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.3355, allocations: 0.6134 MB / 434.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3355, allocations: 1.031 kB / 434.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3355, allocations: 0 / 434.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.3355, allocations: 0 / 434.4 MB, free: 7.336 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.001417/0.3369, allocations: 0.8622 MB / 435.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.337, allocations: 10.08 kB / 435.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.341e-05/0.337, allocations: 12.75 kB / 435.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/0.3371, allocations: 95.12 kB / 435.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.3372, allocations: 58.14 kB / 435.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.3376, allocations: 340.1 kB / 435.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.3377, allocations: 37.66 kB / 435.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.3377, allocations: 43.84 kB / 435.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.3386, allocations: 0.5164 MB / 436.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3386, allocations: 0 / 436.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.3386, allocations: 21.81 kB / 436.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3386, allocations: 11.62 kB / 436.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.3393, allocations: 321.4 kB / 436.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.3415, allocations: 1.548 MB / 438.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.342, allocations: 198.1 kB / 438.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.3422, allocations: 87.69 kB / 438.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3423, allocations: 3.312 kB / 438.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.3427, allocations: 218.1 kB / 438.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.3427, allocations: 0 / 438.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001638/0.3443, allocations: 0.7789 MB / 439.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.3444, allocations: 315.5 kB / 439.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.3448, allocations: 304.1 kB / 440.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3448, allocations: 32.67 kB / 440.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.345, allocations: 277 kB / 440.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.3451, allocations: 99.81 kB / 440.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3452, allocations: 79.91 kB / 440.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.3453, allocations: 343.5 kB / 441 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3455, allocations: 100.3 kB / 441.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.3458, allocations: 261.1 kB / 441.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.3463, allocations: 330.7 kB / 441.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.3463, allocations: 1.062 kB / 441.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001076/0.3474, allocations: 0.5272 MB / 442.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.3474, allocations: 41.2 kB / 442.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3474, allocations: 4.422 kB / 442.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/0.3481, allocations: 164.7 kB / 442.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3483, allocations: 49.23 kB / 442.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.3524, allocations: 4.937 MB / 447.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.3528, allocations: 62.08 kB / 447.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.3529, allocations: 15.38 kB / 447.4 MB, free: 14.04 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.0002856/0.3531, allocations: 171.6 kB / 447.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.3532, allocations: 32.47 kB / 447.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.3533, allocations: 40.81 kB / 447.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3533, allocations: 3.953 kB / 447.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.3533, allocations: 2.25 kB / 447.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3533, allocations: 1.078 kB / 447.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.3539, allocations: 424 kB / 448.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3539, allocations: 1.25 kB / 448.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3541, allocations: 35.44 kB / 448.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.3545, allocations: 105.6 kB / 448.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.3545, allocations: 13.45 kB / 448.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.3594, allocations: 5.76 MB / 454 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3594, allocations: 0 / 454 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/0.3603, allocations: 356.6 kB / 454.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3605, allocations: 112.3 kB / 454.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.3605, allocations: 8.266 kB / 454.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.3608, allocations: 34.06 kB / 454.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.3609, allocations: 51.38 kB / 454.6 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.361, allocations: 15.95 kB / 454.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.3613, allocations: 215.4 kB / 454.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3613, allocations: 4 kB / 454.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.362, allocations: 156 kB / 454.9 MB, free: 7.203 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.00117/0.3632, allocations: 0.9041 MB / 455.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.3646, allocations: 0.6915 MB / 456.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3646, allocations: 1.844 kB / 456.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008134/0.3654, allocations: 0.575 MB / 457.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3658, allocations: 58.98 kB / 457.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.3717, allocations: 3.505 MB / 460.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.3722, allocations: 0.8094 MB / 461.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.3724, allocations: 42.11 kB / 461.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.3726, allocations: 143.1 kB / 461.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3726, allocations: 0 / 461.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.4128, allocations: 9.327 MB / 471 MB, free: 14.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.61, allocations: 14.62 kB / 471 MB, free: 14.95 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --stepSize=1e-10 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.986284677986987] Failed to read output from testmodel.py, exit status != 0: ['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'] 10.750728530983906 10.763861891 10.425537892 Calling exit ...