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.001309/0.001309, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001401/0.001401, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.001881/0.001881, allocations: 64.56 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3084, allocations: 53.38 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.009393/0.3178, allocations: 6.072 MB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004026/0.3218, allocations: 1.701 MB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.3229, allocations: 59.62 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.324, allocations: 321.4 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.3258, allocations: 393.4 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3269, allocations: 363.5 kB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.3298, allocations: 2.013 MB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.3321, allocations: 1.603 MB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.3335, allocations: 1.079 MB / 445.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.3353, allocations: 1.214 MB / 446.7 MB, free: 8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.3357, allocations: 312 kB / 447 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008919/0.3366, allocations: 0.5074 MB / 447.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006725/0.3373, allocations: 0.7441 MB / 448.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.3387, allocations: 1.26 MB / 449.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.3429, allocations: 3.811 MB / 453.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3429, allocations: 4 kB / 453.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3429, allocations: 0 / 453.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001052/0.343, allocations: 3.938 kB / 453.4 MB, free: 1.344 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.005004/0.348, allocations: 2.446 MB / 455.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.348, allocations: 16.03 kB / 455.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004448/0.3485, allocations: 324.9 kB / 456.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.3493, allocations: 275.4 kB / 456.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.3517, allocations: 1.277 MB / 457.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.3518, allocations: 168.9 kB / 457.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.3521, allocations: 219.9 kB / 458.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/0.3568, allocations: 2.542 MB / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.3568, allocations: 8 kB / 460.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.357, allocations: 88 kB / 460.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.182e-05/0.3571, allocations: 59.98 kB / 460.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/0.3608, allocations: 2.137 MB / 462.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.3735, allocations: 7.354 MB / 470.2 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3746, allocations: 0.7019 MB / 470.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.3757, allocations: 0.5907 MB / 471.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.3757, allocations: 8.406 kB / 471.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.3758, allocations: 39.06 kB / 471.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.035e-06/0.3758, allocations: 0 / 471.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004324/0.3801, allocations: 2.379 MB / 474 MB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3801, allocations: 60 kB / 474 MB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3812, allocations: 0.8051 MB / 474.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.3813, allocations: 37.7 kB / 474.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00066/0.3819, allocations: 0.9518 MB / 475.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.3821, allocations: 238 kB / 476 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.3823, allocations: 150.6 kB / 476.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3825, allocations: 390.7 kB / 476.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.3831, allocations: 369.7 kB / 476.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.3839, allocations: 0.5752 MB / 477.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.3853, allocations: 0.9872 MB / 478.5 MB, free: 7.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3853, allocations: 4 kB / 478.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001896/0.3872, allocations: 1.157 MB / 479.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3872, allocations: 11.94 kB / 479.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.3872, allocations: 8 kB / 479.7 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.3875, allocations: 108.8 kB / 479.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.3882, allocations: 175.7 kB / 480 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.3906, allocations: 2.218 MB / 482.2 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.3911, allocations: 39.97 kB / 482.2 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.3912, allocations: 32 kB / 482.2 MB, free: 3.645 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.001097/0.3923, allocations: 0.6457 MB / 482.9 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.3925, allocations: 91.38 kB / 483 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.3927, allocations: 107.7 kB / 483.1 MB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.3927, allocations: 8 kB / 483.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3927, allocations: 0 / 483.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3927, allocations: 3.984 kB / 483.1 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004539/0.3973, allocations: 2.629 MB / 485.7 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3973, allocations: 8.141 kB / 485.7 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.3977, allocations: 107.8 kB / 485.8 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.398, allocations: 92.78 kB / 485.9 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.398, allocations: 23.92 kB / 486 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.4005, allocations: 2.171 MB / 488.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4005, allocations: 8.047 kB / 488.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.4027, allocations: 1.415 MB / 489.6 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.4031, allocations: 151.4 kB / 489.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.4033, allocations: 24 kB / 489.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.4038, allocations: 43.95 kB / 489.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.4039, allocations: 52.41 kB / 489.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.404, allocations: 20 kB / 489.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009915/0.4049, allocations: 0.5654 MB / 490.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4049, allocations: 0 / 490.4 MB, free: 11.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001224/0.4062, allocations: 299.9 kB / 490.7 MB, free: 10.96 MB / 398.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.00284/0.409, allocations: 1.998 MB / 492.7 MB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4108, allocations: 0.9713 MB / 493.7 MB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4108, allocations: 0 / 493.7 MB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.4118, allocations: 0.5417 MB / 494.2 MB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.413, allocations: 219 kB / 494.4 MB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.43, allocations: 10.21 MB / 0.4928 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.432, allocations: 1.724 MB / 0.4945 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006375/0.4326, allocations: 207.1 kB / 0.4947 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008676/0.4335, allocations: 0.6437 MB / 0.4953 GB, free: 9.988 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4335, allocations: 0 / 0.4953 GB, free: 9.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/0.5034, allocations: 25.07 MB / 0.5198 GB, free: 1.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.6, allocations: 7.344 kB / 0.5198 GB, free: 1.156 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: 13.990798690356314] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.inductor[2].i', 'inductor.inductor[3].i'] 11.69967546639964 11.729998412 11.381702273 Calling exit ...