Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.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.001401/0.001401, 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.001675/0.001675, allocations: 212.6 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_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.00196/0.00196, allocations: 72.73 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2774, allocations: 53.38 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0198/0.2972, allocations: 16.6 MB / 448.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009952/0.3072, allocations: 4.169 MB / 452.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.3106, allocations: 163.2 kB / 452.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01774/0.3283, allocations: 7.512 MB / 460.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007646/0.336, allocations: 1.366 MB / 461.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.3404, allocations: 1.274 MB / 463 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.3519, allocations: 8.297 MB / 471.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02917/0.3811, allocations: 14.36 MB / 485.7 MB, free: 0.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009814/0.3909, allocations: 4.918 MB / 490.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.4013, allocations: 5.357 MB / 496 MB, free: 6.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004325/0.4056, allocations: 1.383 MB / 497.3 MB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005818/0.4114, allocations: 1.675 MB / 499 MB, free: 3.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004367/0.4158, allocations: 2.584 MB / 0.4898 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009669/0.4255, allocations: 5.214 MB / 0.4949 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02495/0.4504, allocations: 18.36 MB / 0.5129 GB, free: 9.188 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.4504, allocations: 0 / 0.5129 GB, free: 9.188 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4504, allocations: 0 / 0.5129 GB, free: 9.188 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006136/0.4511, allocations: 0 / 0.5129 GB, free: 9.188 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03563/0.4867, allocations: 10.55 MB / 0.5232 GB, free: 14.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.4867, allocations: 8.031 kB / 0.5232 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00507/0.4918, allocations: 1.294 MB / 0.5244 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01987/0.5117, allocations: 3.706 MB / 0.5281 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.5239, allocations: 5.437 MB / 0.5334 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007134/0.5246, allocations: 0.6824 MB / 0.534 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003317/0.5279, allocations: 0.8828 MB / 0.5349 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4713/0.9993, allocations: 12.74 MB / 0.5473 GB, free: 84.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002085/0.9995, allocations: 6.891 kB / 0.5473 GB, free: 84.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001686/1.001, allocations: 374.4 kB / 0.5477 GB, free: 83.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002797/1.001, allocations: 404.4 kB / 0.5481 GB, free: 83.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/1.022, allocations: 11.42 MB / 0.5592 GB, free: 78.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06347/1.085, allocations: 42.38 MB / 0.6006 GB, free: 36.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/1.093, allocations: 4.209 MB / 0.6047 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/1.095, allocations: 1.53 MB / 0.6062 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/1.095, allocations: 86.53 kB / 0.6063 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.095, allocations: 56.56 kB / 0.6064 GB, free: 30.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.919e-06/1.095, allocations: 0 / 0.6064 GB, free: 30.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007808/1.103, allocations: 4.605 MB / 0.6109 GB, free: 25.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/1.103, allocations: 77.34 kB / 0.6109 GB, free: 25.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004504/1.107, allocations: 2.932 MB / 0.6138 GB, free: 22.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/1.108, allocations: 61.7 kB / 0.6139 GB, free: 22.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.11, allocations: 3.976 MB / 0.6177 GB, free: 19.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006854/1.11, allocations: 0.8307 MB / 0.6185 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/1.112, allocations: 0.9605 MB / 0.6195 GB, free: 17.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/1.112, allocations: 305.1 kB / 0.6198 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/1.114, allocations: 1.976 MB / 0.6217 GB, free: 15.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/1.118, allocations: 4.161 MB / 0.6258 GB, free: 9.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/1.124, allocations: 6.521 MB / 0.6321 GB, free: 2.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.042e-05/1.124, allocations: 23.94 kB / 0.6322 GB, free: 2.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01075/1.134, allocations: 6.526 MB / 0.6385 GB, free: 11.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.134, allocations: 36 kB / 0.6386 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.135, allocations: 76 kB / 0.6386 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/1.136, allocations: 408.7 kB / 0.639 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/1.139, allocations: 1.065 MB / 0.6401 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/1.146, allocations: 4.285 MB / 0.6443 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/1.149, allocations: 0.6364 MB / 0.6449 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008171/1.15, allocations: 248 kB / 0.6451 GB, free: 4.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006953/1.157, allocations: 3.369 MB / 0.6484 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009513/1.158, allocations: 286.2 kB / 0.6487 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007872/1.166, allocations: 3.571 MB / 0.6522 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004984/1.171, allocations: 2.815 MB / 0.6549 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.171, allocations: 4 kB / 0.6549 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/1.171, allocations: 7.969 kB / 0.6549 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/1.194, allocations: 9.907 MB / 0.6646 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.194, allocations: 4 kB / 0.6646 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.195, allocations: 419.4 kB / 0.665 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008168/1.196, allocations: 308.7 kB / 0.6653 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/1.196, allocations: 51.98 kB / 0.6653 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/1.202, allocations: 4.1 MB / 0.6694 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.202, allocations: 8 kB / 0.6694 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008433/1.21, allocations: 5.146 MB / 0.6744 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.212, allocations: 0.56 MB / 0.6749 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/1.212, allocations: 44 kB / 0.675 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.214, allocations: 127.9 kB / 0.6751 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/1.214, allocations: 157.7 kB / 0.6752 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.214, allocations: 75.91 kB / 0.6753 GB, free: 5.777 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003949/1.218, allocations: 1.959 MB / 0.6772 GB, free: 3.809 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.218, allocations: 0 / 0.6772 GB, free: 3.809 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006171/1.224, allocations: 1.984 MB / 0.6792 GB, free: 1.816 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009349/1.234, allocations: 5.792 MB / 0.6848 GB, free: 11.98 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008451/1.242, allocations: 4.444 MB / 0.6892 GB, free: 7.531 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.242, allocations: 0 / 0.6892 GB, free: 7.531 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002863/1.245, allocations: 1.633 MB / 0.6908 GB, free: 5.887 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/1.249, allocations: 0.6723 MB / 0.6914 GB, free: 5.23 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08056/1.329, allocations: 40.29 MB / 0.7308 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/1.339, allocations: 5.653 MB / 0.7363 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004401/1.344, allocations: 1.686 MB / 0.7379 GB, free: 2.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004961/1.349, allocations: 2.741 MB / 0.7406 GB, free: 160 kB / 0.545 GB Notification: Performance of SimCode: time 1.543e-06/1.349, allocations: 0 / 0.7406 GB, free: 160 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3673/1.716, allocations: 94.91 MB / 0.8333 GB, free: 109.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/18.14, allocations: 10.36 kB / 0.8333 GB, free: 109.4 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.687307487241924] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma'] 18.27583527704701 18.293055454 17.838835592 Calling exit ...