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.001245/0.001245, 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.001293/0.001293, 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.477/1.477, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.001974/0.001974, allocations: 71.83 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1198, allocations: 53.32 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2518/0.3716, allocations: 16.57 MB / 443.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.383, allocations: 4.152 MB / 447.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005858/0.3888, allocations: 137 kB / 447.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01881/0.4077, allocations: 7.493 MB / 455.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007814/0.4155, allocations: 1.342 MB / 456.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004843/0.4203, allocations: 1.234 MB / 457.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.4342, allocations: 8.252 MB / 466.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03529/0.4695, allocations: 17.34 MB / 483.4 MB, free: 8.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.4796, allocations: 4.812 MB / 488.2 MB, free: 3.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.4899, allocations: 5.35 MB / 493.6 MB, free: 14.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004165/0.494, allocations: 1.383 MB / 495 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00607/0.5001, allocations: 1.664 MB / 496.6 MB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004865/0.505, allocations: 2.588 MB / 499.2 MB, free: 8.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0116/0.5166, allocations: 5.218 MB / 0.4926 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02651/0.5431, allocations: 18.35 MB / 0.5105 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5431, allocations: 4 kB / 0.5105 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5431, allocations: 0 / 0.5105 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004999/0.5436, allocations: 0 / 0.5105 GB, free: 0.9297 MB / 414.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.03078/0.5744, allocations: 10.62 MB / 0.5209 GB, free: 6.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5744, allocations: 8.031 kB / 0.5209 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004086/0.5785, allocations: 1.298 MB / 0.5222 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/0.5985, allocations: 3.706 MB / 0.5258 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.614, allocations: 5.376 MB / 0.531 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007812/0.6148, allocations: 0.6785 MB / 0.5317 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003649/0.6184, allocations: 0.8944 MB / 0.5326 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.652, allocations: 12.74 MB / 0.545 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002617/0.6522, allocations: 7.953 kB / 0.545 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/0.6546, allocations: 380 kB / 0.5454 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004271/0.655, allocations: 403 kB / 0.5458 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02848/0.6835, allocations: 11.43 MB / 0.5569 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08263/0.7661, allocations: 43.72 MB / 0.5996 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.778, allocations: 10.28 MB / 0.6097 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.7806, allocations: 1.54 MB / 0.6112 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/0.781, allocations: 244 kB / 0.6114 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.781, allocations: 52.56 kB / 0.6115 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.038e-06/0.781, allocations: 0 / 0.6115 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.009019/0.79, allocations: 4.68 MB / 0.616 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.7901, allocations: 77.34 kB / 0.6161 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4311/1.221, allocations: 2.927 MB / 0.619 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000463/1.222, allocations: 61.23 kB / 0.619 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002625/1.224, allocations: 3.981 MB / 0.6229 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.225, allocations: 0.823 MB / 0.6237 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/1.227, allocations: 0.9656 MB / 0.6247 GB, free: 150 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/1.227, allocations: 304.3 kB / 0.6249 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/1.23, allocations: 1.976 MB / 0.6269 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/1.235, allocations: 4.157 MB / 0.6309 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007635/1.242, allocations: 6.523 MB / 0.6373 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.243, allocations: 21.16 kB / 0.6373 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01204/1.255, allocations: 6.524 MB / 0.6437 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/1.255, allocations: 37.83 kB / 0.6437 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/1.255, allocations: 75.38 kB / 0.6438 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.256, allocations: 411.7 kB / 0.6442 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0037/1.26, allocations: 1.067 MB / 0.6452 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/1.264, allocations: 4.373 MB / 0.6495 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/1.269, allocations: 0.6371 MB / 0.6501 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007847/1.269, allocations: 248.6 kB / 0.6504 GB, free: 134.8 MB / 0.5138 GB 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.005913/1.275, allocations: 3.375 MB / 0.6537 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/1.276, allocations: 290.2 kB / 0.6539 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00512/1.281, allocations: 3.565 MB / 0.6574 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003395/1.285, allocations: 2.813 MB / 0.6602 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.285, allocations: 4.781 kB / 0.6602 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.285, allocations: 15.39 kB / 0.6602 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.299, allocations: 9.878 MB / 0.6698 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.299, allocations: 4.75 kB / 0.6698 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.301, allocations: 413.1 kB / 0.6702 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006443/1.301, allocations: 318.4 kB / 0.6705 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/1.302, allocations: 51.36 kB / 0.6706 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/1.305, allocations: 4.191 MB / 0.6747 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.305, allocations: 3.938 kB / 0.6747 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/1.311, allocations: 5.152 MB / 0.6797 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.312, allocations: 0.6235 MB / 0.6803 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/1.313, allocations: 42.73 kB / 0.6804 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.314, allocations: 127.9 kB / 0.6805 GB, free: 118.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/1.314, allocations: 160.7 kB / 0.6806 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.314, allocations: 67.98 kB / 0.6807 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002331/1.316, allocations: 1.963 MB / 0.6826 GB, free: 116.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/1.316, allocations: 0 / 0.6826 GB, free: 116.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004758/1.321, allocations: 1.988 MB / 0.6846 GB, free: 114.1 MB / 0.5138 GB 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.005836/1.327, allocations: 5.796 MB / 0.6902 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005918/1.333, allocations: 4.437 MB / 0.6946 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.333, allocations: 4 kB / 0.6946 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.335, allocations: 1.614 MB / 0.6961 GB, free: 102.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/1.338, allocations: 0.6829 MB / 0.6968 GB, free: 101.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05384/1.391, allocations: 40.12 MB / 0.736 GB, free: 58.83 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005535/1.397, allocations: 5.647 MB / 0.7415 GB, free: 53.14 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003543/1.401, allocations: 1.693 MB / 0.7431 GB, free: 51.45 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002795/1.403, allocations: 2.745 MB / 0.7458 GB, free: 48.71 MB / 0.5138 GB Notification: Performance of SimCode: time 1.232e-06/1.403, allocations: 0 / 0.7458 GB, free: 48.71 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4254/1.829, allocations: 90.78 MB / 0.8345 GB, free: 155.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/18.17, allocations: 5.469 kB / 0.8345 GB, free: 155.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_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_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.80812678625807] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma'] 18.29309311369434 18.311025444 17.764200898 Calling exit ...