Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 111.1 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 200 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009624/0.0009625, allocations: 55.91 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2793, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01664/0.296, allocations: 16.5 MB / 416.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009176/0.3053, allocations: 4.083 MB / 420.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.3087, allocations: 139.6 kB / 421 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01574/0.3245, allocations: 7.459 MB / 428.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.3306, allocations: 1.487 MB / 429.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.3339, allocations: 1.091 MB / 431 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.3446, allocations: 8.254 MB / 439.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03112/0.3758, allocations: 22.51 MB / 461.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/0.3824, allocations: 4.809 MB / 466.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00876/0.3912, allocations: 5.334 MB / 471.9 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004655/0.3959, allocations: 1.383 MB / 473.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006039/0.4019, allocations: 1.64 MB / 474.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003977/0.406, allocations: 2.588 MB / 477.5 MB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009295/0.4153, allocations: 5.211 MB / 482.7 MB, free: 5.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02152/0.4368, allocations: 18.33 MB / 0.4893 GB, free: 3.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4369, allocations: 7.938 kB / 0.4893 GB, free: 3.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4369, allocations: 0 / 0.4893 GB, free: 3.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004841/0.4374, allocations: 0 / 0.4893 GB, free: 3.52 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.03115/0.4685, allocations: 10.63 MB / 0.4997 GB, free: 8.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4686, allocations: 12.03 kB / 0.4997 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004423/0.473, allocations: 1.291 MB / 0.501 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/0.4929, allocations: 3.776 MB / 0.5047 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.5047, allocations: 5.363 MB / 0.5099 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006698/0.5054, allocations: 0.6784 MB / 0.5106 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003287/0.5087, allocations: 0.9022 MB / 0.5114 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03092/0.5396, allocations: 12.73 MB / 0.5239 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/0.5399, allocations: 7.891 kB / 0.5239 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002194/0.5421, allocations: 376 kB / 0.5242 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/0.5425, allocations: 407 kB / 0.5246 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02253/0.565, allocations: 11.4 MB / 0.5358 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4717/1.037, allocations: 43.22 MB / 0.578 GB, free: 91.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007933/1.045, allocations: 10.48 MB / 0.5882 GB, free: 80.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/1.047, allocations: 1.682 MB / 0.5898 GB, free: 79.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.047, allocations: 134.6 kB / 0.59 GB, free: 79.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/1.047, allocations: 56.56 kB / 0.59 GB, free: 78.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 6.312e-06/1.047, allocations: 4 kB / 0.59 GB, free: 78.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.006853/1.054, allocations: 4.68 MB / 0.5946 GB, free: 74.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/1.054, allocations: 77.34 kB / 0.5947 GB, free: 74.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/1.057, allocations: 2.933 MB / 0.5975 GB, free: 71.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/1.057, allocations: 61.7 kB / 0.5976 GB, free: 71.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.059, allocations: 3.975 MB / 0.6015 GB, free: 67.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/1.06, allocations: 0.8273 MB / 0.6023 GB, free: 67.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/1.061, allocations: 0.9605 MB / 0.6032 GB, free: 66.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/1.061, allocations: 301.1 kB / 0.6035 GB, free: 65.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.063, allocations: 1.973 MB / 0.6054 GB, free: 63.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/1.066, allocations: 4.156 MB / 0.6095 GB, free: 58.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005165/1.071, allocations: 6.501 MB / 0.6158 GB, free: 51.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.158e-05/1.071, allocations: 24 kB / 0.6159 GB, free: 51.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007846/1.079, allocations: 6.52 MB / 0.6222 GB, free: 44.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/1.079, allocations: 40 kB / 0.6223 GB, free: 44.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.452e-05/1.079, allocations: 72 kB / 0.6223 GB, free: 44.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000752/1.08, allocations: 412.7 kB / 0.6227 GB, free: 44.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002926/1.083, allocations: 1.061 MB / 0.6238 GB, free: 43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/1.087, allocations: 4.39 MB / 0.6281 GB, free: 38.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/1.09, allocations: 0.6364 MB / 0.6287 GB, free: 37.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005338/1.09, allocations: 248.6 kB / 0.6289 GB, free: 37.6 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.004682/1.095, allocations: 3.365 MB / 0.6322 GB, free: 34.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/1.096, allocations: 282.2 kB / 0.6325 GB, free: 33.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/1.1, allocations: 3.585 MB / 0.636 GB, free: 30.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003117/1.103, allocations: 2.803 MB / 0.6387 GB, free: 27.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.103, allocations: 4 kB / 0.6387 GB, free: 27.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.103, allocations: 15.89 kB / 0.6387 GB, free: 27.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.118, allocations: 9.862 MB / 0.6484 GB, free: 17.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.118, allocations: 4 kB / 0.6484 GB, free: 17.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.119, allocations: 423.5 kB / 0.6488 GB, free: 17.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000661/1.12, allocations: 320.9 kB / 0.6491 GB, free: 16.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.12, allocations: 40 kB / 0.6491 GB, free: 16.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003657/1.124, allocations: 4.21 MB / 0.6532 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.124, allocations: 0 / 0.6532 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/1.129, allocations: 5.13 MB / 0.6582 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.131, allocations: 0.6158 MB / 0.6588 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.131, allocations: 43.98 kB / 0.6589 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.132, allocations: 131.8 kB / 0.659 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/1.133, allocations: 153.9 kB / 0.6592 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.133, allocations: 67.98 kB / 0.6592 GB, free: 6.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002253/1.135, allocations: 1.959 MB / 0.6611 GB, free: 4.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.135, allocations: 0 / 0.6611 GB, free: 4.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004721/1.14, allocations: 1.996 MB / 0.6631 GB, free: 2.297 MB / 462.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.007303/1.147, allocations: 5.792 MB / 0.6687 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007015/1.154, allocations: 4.629 MB / 0.6733 GB, free: 7.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/1.154, allocations: 0 / 0.6733 GB, free: 7.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002471/1.157, allocations: 1.738 MB / 0.675 GB, free: 6.074 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/1.16, allocations: 0.6746 MB / 0.6756 GB, free: 5.414 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06103/1.221, allocations: 40.17 MB / 0.7148 GB, free: 10.58 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00637/1.228, allocations: 5.649 MB / 0.7204 GB, free: 4.887 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003765/1.231, allocations: 1.694 MB / 0.722 GB, free: 3.188 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003713/1.235, allocations: 2.729 MB / 0.7247 GB, free: 468 kB / 0.5138 GB Notification: Performance of SimCode: time 6.92e-07/1.235, allocations: 4 kB / 0.7247 GB, free: 464 kB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3585/1.594, allocations: 89.87 MB / 0.8124 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.37, allocations: 13.06 kB / 0.8125 GB, free: 130.4 MB / 0.5294 GB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches