Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001882/0.001882, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002464/0.002464, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.5 MB / 254.7 MB, free: 15 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-beta.om/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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003051/0.003051, allocations: 63.89 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1392, allocations: 53.32 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.2414/0.3806, allocations: 6.049 MB / 432.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.3839, allocations: 1.681 MB / 434.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.3845, allocations: 50.09 kB / 434.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.3851, allocations: 324.9 kB / 435 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3862, allocations: 368 kB / 435.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.3868, allocations: 354.1 kB / 435.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.389, allocations: 2.014 MB / 437.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.3914, allocations: 2.03 MB / 439.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.393, allocations: 1.05 MB / 440.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.3948, allocations: 1.222 MB / 442 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.3954, allocations: 309.6 kB / 442.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009997/0.3964, allocations: 476.9 kB / 442.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000645/0.397, allocations: 0.7367 MB / 443.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.3986, allocations: 1.263 MB / 444.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005339/0.4039, allocations: 3.811 MB / 448.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4039, allocations: 0 / 448.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4039, allocations: 1.062 kB / 448.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001867/0.4041, allocations: 0.9375 kB / 448.6 MB, free: 1.699 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007734/0.4118, allocations: 2.53 MB / 451.1 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.4119, allocations: 9.719 kB / 451.1 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005877/0.4125, allocations: 324.3 kB / 451.4 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.4135, allocations: 279.7 kB / 451.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.4165, allocations: 1.331 MB / 453.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.4166, allocations: 168.8 kB / 453.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.417, allocations: 224.8 kB / 453.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004805/0.4218, allocations: 2.548 MB / 456 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.4218, allocations: 0 / 456 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.422, allocations: 94.03 kB / 456.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.862e-05/0.4221, allocations: 56.62 kB / 456.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.426, allocations: 2.141 MB / 458.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.4397, allocations: 7.514 MB / 465.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.441, allocations: 1.214 MB / 467 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.4421, allocations: 0.5884 MB / 467.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.4422, allocations: 10.55 kB / 467.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.4422, allocations: 46.66 kB / 467.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.286e-06/0.4422, allocations: 4 kB / 467.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005062/0.4473, allocations: 2.446 MB / 470.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.4473, allocations: 61.44 kB / 470.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.4487, allocations: 0.8001 MB / 471 MB, free: 3.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.4488, allocations: 36.45 kB / 471 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/0.4496, allocations: 0.9466 MB / 471.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.4498, allocations: 234.8 kB / 472.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.45, allocations: 155.1 kB / 472.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.4503, allocations: 392.8 kB / 472.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/0.4509, allocations: 369.2 kB / 473.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009955/0.4519, allocations: 0.5754 MB / 473.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.4536, allocations: 0.9826 MB / 474.6 MB, free: 256 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4536, allocations: 4 kB / 474.6 MB, free: 252 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002136/0.4557, allocations: 1.151 MB / 475.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4558, allocations: 8.594 kB / 475.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.4558, allocations: 11.98 kB / 475.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.4561, allocations: 112.7 kB / 475.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.4568, allocations: 171.7 kB / 476.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.4597, allocations: 2.332 MB / 478.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.4603, allocations: 44.03 kB / 478.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.4604, allocations: 36 kB / 478.5 MB, free: 12.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001711/0.4621, allocations: 0.6496 MB / 479.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.4624, allocations: 91.42 kB / 479.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.4626, allocations: 97.28 kB / 479.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/0.4627, allocations: 11.94 kB / 479.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/0.4627, allocations: 4 kB / 479.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.4627, allocations: 7.984 kB / 479.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/0.4677, allocations: 2.655 MB / 482 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4677, allocations: 3.984 kB / 482 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.4681, allocations: 107.8 kB / 482.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.4684, allocations: 100.9 kB / 482.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.4684, allocations: 19.98 kB / 482.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.4709, allocations: 2.261 MB / 484.5 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4709, allocations: 4.031 kB / 484.5 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.4733, allocations: 1.421 MB / 485.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.4738, allocations: 228.5 kB / 486.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4739, allocations: 24.05 kB / 486.2 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.4743, allocations: 39.91 kB / 486.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4745, allocations: 52.42 kB / 486.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.4745, allocations: 16 kB / 486.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008037/0.4753, allocations: 0.5693 MB / 486.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4753, allocations: 0 / 486.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4765, allocations: 299.9 kB / 487.1 MB, free: 3.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002752/0.4793, allocations: 2.005 MB / 489.1 MB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.4811, allocations: 0.972 MB / 490.1 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4811, allocations: 0 / 490.1 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009034/0.482, allocations: 0.5251 MB / 490.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.4831, allocations: 220.7 kB / 490.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.4998, allocations: 10.18 MB / 0.4893 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.5015, allocations: 1.732 MB / 0.491 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006323/0.5021, allocations: 194.5 kB / 0.4912 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008608/0.503, allocations: 0.6438 MB / 0.4918 GB, free: 2.395 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.503, allocations: 4 kB / 0.4918 GB, free: 2.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/0.5682, allocations: 24.51 MB / 0.5157 GB, free: 10.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.69, allocations: 12.05 kB / 0.5157 GB, free: 10.14 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.201955758966506] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.inductor[2].i', 'inductor.inductor[3].i'] 11.783383771777153 11.802323837 11.394512726 Calling exit ...