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.00169/0.00169, allocations: 113.3 kB / 20.22 MB, free: 1.793 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.001699/0.001699, allocations: 210.8 kB / 23.48 MB, free: 5.23 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.424/1.424, allocations: 230.5 MB / 257 MB, free: 8.246 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.001857/0.001857, allocations: 67.89 kB / 377.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3039, allocations: 53.32 MB / 430.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01903/0.3229, allocations: 16.6 MB / 447 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.3334, allocations: 4.169 MB / 451.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/0.3369, allocations: 139.6 kB / 451.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01747/0.3543, allocations: 7.5 MB / 458.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.361, allocations: 1.331 MB / 460.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.3653, allocations: 1.247 MB / 461.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.3775, allocations: 8.243 MB / 469.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03179/0.4093, allocations: 13.67 MB / 483.3 MB, free: 1.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008704/0.418, allocations: 4.824 MB / 488.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009797/0.4278, allocations: 5.353 MB / 493.5 MB, free: 7.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00442/0.4322, allocations: 1.387 MB / 494.9 MB, free: 6.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005977/0.4382, allocations: 1.664 MB / 496.5 MB, free: 4.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005335/0.4435, allocations: 2.58 MB / 499.1 MB, free: 2.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01114/0.4546, allocations: 5.218 MB / 0.4925 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02648/0.4811, allocations: 18.36 MB / 0.5104 GB, free: 10.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.4811, allocations: 0 / 0.5104 GB, free: 10.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4811, allocations: 0 / 0.5104 GB, free: 10.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005609/0.4817, allocations: 0 / 0.5104 GB, free: 10.49 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.03396/0.5157, allocations: 10.63 MB / 0.5208 GB, free: 15.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.5157, allocations: 8.031 kB / 0.5208 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005979/0.5217, allocations: 1.294 MB / 0.5221 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01987/0.5416, allocations: 3.71 MB / 0.5257 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.5543, allocations: 5.391 MB / 0.531 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006887/0.555, allocations: 0.6785 MB / 0.5316 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003372/0.5583, allocations: 0.8828 MB / 0.5325 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2629/0.8213, allocations: 12.74 MB / 0.5449 GB, free: 86.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/0.8215, allocations: 6.891 kB / 0.5449 GB, free: 86.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001552/0.823, allocations: 374.4 kB / 0.5453 GB, free: 86.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/0.8233, allocations: 399.5 kB / 0.5457 GB, free: 86.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02136/0.8447, allocations: 11.42 MB / 0.5568 GB, free: 81.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0512/0.8959, allocations: 43.72 MB / 0.5995 GB, free: 37.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007394/0.9033, allocations: 10.29 MB / 0.6096 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.9052, allocations: 1.534 MB / 0.6111 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.9054, allocations: 237 kB / 0.6113 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.9055, allocations: 60.5 kB / 0.6114 GB, free: 24.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.077e-06/0.9055, allocations: 0 / 0.6114 GB, free: 24.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.00699/0.9125, allocations: 4.676 MB / 0.6159 GB, free: 19.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9125, allocations: 81.34 kB / 0.616 GB, free: 19.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.9165, allocations: 2.934 MB / 0.6189 GB, free: 16.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.9168, allocations: 61.7 kB / 0.6189 GB, free: 16.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.9184, allocations: 3.976 MB / 0.6228 GB, free: 12.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006003/0.919, allocations: 0.8305 MB / 0.6236 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.92, allocations: 0.9566 MB / 0.6246 GB, free: 10.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.9201, allocations: 305.1 kB / 0.6249 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.9223, allocations: 1.973 MB / 0.6268 GB, free: 8.512 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/0.9252, allocations: 4.163 MB / 0.6309 GB, free: 3.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007049/0.9322, allocations: 6.517 MB / 0.6372 GB, free: 11.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.855e-05/0.9323, allocations: 24 kB / 0.6372 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01133/0.9436, allocations: 6.528 MB / 0.6436 GB, free: 5.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.9437, allocations: 36 kB / 0.6436 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/0.9438, allocations: 76 kB / 0.6437 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008919/0.9447, allocations: 409.4 kB / 0.6441 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.9481, allocations: 1.065 MB / 0.6451 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.9537, allocations: 4.396 MB / 0.6494 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/0.9572, allocations: 0.6325 MB / 0.6501 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/0.9577, allocations: 248 kB / 0.6503 GB, free: 14.16 MB / 478.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.006411/0.9642, allocations: 3.369 MB / 0.6536 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000795/0.965, allocations: 286.2 kB / 0.6539 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.9709, allocations: 3.569 MB / 0.6573 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004296/0.9752, allocations: 2.807 MB / 0.6601 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.9752, allocations: 4 kB / 0.6601 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.9752, allocations: 11.95 kB / 0.6601 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/0.9932, allocations: 9.878 MB / 0.6697 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.9932, allocations: 4 kB / 0.6698 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.9948, allocations: 415.4 kB / 0.6701 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/0.9955, allocations: 317.3 kB / 0.6705 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.9956, allocations: 51.98 kB / 0.6705 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/1.001, allocations: 4.207 MB / 0.6746 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.001, allocations: 0 / 0.6746 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007674/1.009, allocations: 5.15 MB / 0.6796 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.01, allocations: 0.6196 MB / 0.6802 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/1.01, allocations: 40 kB / 0.6803 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.011, allocations: 131.8 kB / 0.6804 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/1.011, allocations: 141.8 kB / 0.6805 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.012, allocations: 75.91 kB / 0.6806 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003005/1.015, allocations: 1.963 MB / 0.6825 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.015, allocations: 4.062 kB / 0.6825 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005507/1.02, allocations: 1.984 MB / 0.6845 GB, free: 10.86 MB / 0.4981 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.008565/1.029, allocations: 5.792 MB / 0.6901 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00848/1.037, allocations: 4.449 MB / 0.6945 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.037, allocations: 0 / 0.6945 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002722/1.04, allocations: 1.614 MB / 0.696 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/1.044, allocations: 0.6796 MB / 0.6967 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06977/1.114, allocations: 40.27 MB / 0.736 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2356/1.35, allocations: 5.642 MB / 0.7415 GB, free: 197.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004068/1.354, allocations: 1.698 MB / 0.7432 GB, free: 197.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003356/1.357, allocations: 2.743 MB / 0.7459 GB, free: 196.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.263e-06/1.357, allocations: 0 / 0.7459 GB, free: 196.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/1.482, allocations: 91.15 MB / 0.8349 GB, free: 119.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/17.24, allocations: 3.562 kB / 0.8349 GB, free: 119.2 MB / 0.545 GB " [Timeout remaining time 643] (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: 19.78573012398556] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.plug_p.reference.gamma'] 17.368614554870874 17.385704343 16.90104585 Calling exit ...