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.001258/0.001258, 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.001183/0.001183, 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.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 43.91 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2822, allocations: 49.44 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01864/0.3009, allocations: 16.49 MB / 416.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008982/0.3099, allocations: 4.087 MB / 420.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.3127, allocations: 139.6 kB / 421 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01614/0.329, allocations: 7.431 MB / 428.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005856/0.3348, allocations: 1.483 MB / 429.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.338, allocations: 1.089 MB / 431 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.3484, allocations: 8.253 MB / 439.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03251/0.3809, allocations: 22.52 MB / 461.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00752/0.3885, allocations: 4.801 MB / 466.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008498/0.397, allocations: 5.326 MB / 471.9 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002965/0.4, allocations: 1.379 MB / 473.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.4043, allocations: 1.652 MB / 474.9 MB, free: 13.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.4071, allocations: 2.58 MB / 477.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008026/0.4152, allocations: 5.218 MB / 482.7 MB, free: 5.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02277/0.4379, allocations: 18.33 MB / 0.4893 GB, free: 3.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.438, allocations: 0 / 0.4893 GB, free: 3.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.438, allocations: 3.938 kB / 0.4893 GB, free: 3.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005304/0.4385, allocations: 4 kB / 0.4893 GB, free: 3.559 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.03229/0.4708, allocations: 10.62 MB / 0.4997 GB, free: 8.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4709, allocations: 11.97 kB / 0.4997 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003832/0.4748, allocations: 1.294 MB / 0.5009 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/0.494, allocations: 3.776 MB / 0.5046 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.5054, allocations: 5.368 MB / 0.5099 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000714/0.5061, allocations: 0.6785 MB / 0.5105 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003341/0.5095, allocations: 0.8906 MB / 0.5114 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/0.5432, allocations: 12.73 MB / 0.5238 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003725/0.5436, allocations: 11.89 kB / 0.5238 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002539/0.5462, allocations: 380 kB / 0.5242 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004469/0.5466, allocations: 395.1 kB / 0.5246 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.5719, allocations: 11.41 MB / 0.5357 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4454/1.017, allocations: 43.23 MB / 0.5779 GB, free: 91.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008055/1.025, allocations: 10.49 MB / 0.5882 GB, free: 80.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/1.027, allocations: 1.671 MB / 0.5898 GB, free: 79.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/1.027, allocations: 142.6 kB / 0.59 GB, free: 79.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.028, allocations: 52.56 kB / 0.59 GB, free: 78.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 4.408e-06/1.028, allocations: 0 / 0.59 GB, free: 78.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007429/1.035, allocations: 4.682 MB / 0.5946 GB, free: 74.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/1.035, allocations: 77.41 kB / 0.5946 GB, free: 74.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/1.039, allocations: 2.931 MB / 0.5975 GB, free: 71.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/1.04, allocations: 63.67 kB / 0.5976 GB, free: 71.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.041, allocations: 3.973 MB / 0.6015 GB, free: 67.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/1.042, allocations: 0.8317 MB / 0.6023 GB, free: 67.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/1.043, allocations: 0.9527 MB / 0.6032 GB, free: 66.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.876e-05/1.043, allocations: 301.1 kB / 0.6035 GB, free: 65.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/1.046, allocations: 1.973 MB / 0.6054 GB, free: 63.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/1.049, allocations: 4.152 MB / 0.6095 GB, free: 58.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005687/1.054, allocations: 6.517 MB / 0.6158 GB, free: 51.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/1.054, allocations: 20 kB / 0.6158 GB, free: 51.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.00865/1.063, allocations: 6.516 MB / 0.6222 GB, free: 44.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/1.063, allocations: 36 kB / 0.6222 GB, free: 44.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.552e-05/1.063, allocations: 76 kB / 0.6223 GB, free: 44.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008059/1.064, allocations: 408.8 kB / 0.6227 GB, free: 44.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/1.067, allocations: 1.065 MB / 0.6237 GB, free: 43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/1.071, allocations: 4.381 MB / 0.628 GB, free: 38.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/1.074, allocations: 0.6326 MB / 0.6286 GB, free: 37.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/1.074, allocations: 252 kB / 0.6289 GB, free: 37.61 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.004114/1.078, allocations: 3.373 MB / 0.6322 GB, free: 34.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/1.079, allocations: 286.7 kB / 0.6324 GB, free: 33.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/1.084, allocations: 3.581 MB / 0.6359 GB, free: 30.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00309/1.087, allocations: 2.803 MB / 0.6387 GB, free: 27.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.087, allocations: 4 kB / 0.6387 GB, free: 27.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.087, allocations: 11.95 kB / 0.6387 GB, free: 27.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/1.1, allocations: 9.868 MB / 0.6483 GB, free: 17.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.1, allocations: 3.984 kB / 0.6483 GB, free: 17.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.101, allocations: 415.4 kB / 0.6487 GB, free: 17.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006262/1.102, allocations: 317 kB / 0.649 GB, free: 16.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.102, allocations: 59.86 kB / 0.6491 GB, free: 16.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/1.106, allocations: 4.201 MB / 0.6532 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.106, allocations: 4 kB / 0.6532 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/1.111, allocations: 5.13 MB / 0.6582 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.112, allocations: 0.6158 MB / 0.6588 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/1.113, allocations: 36 kB / 0.6588 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.114, allocations: 139.8 kB / 0.659 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/1.114, allocations: 149.8 kB / 0.6591 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.114, allocations: 63.98 kB / 0.6592 GB, free: 6.293 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002344/1.117, allocations: 1.963 MB / 0.6611 GB, free: 4.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.117, allocations: 0 / 0.6611 GB, free: 4.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004629/1.121, allocations: 1.988 MB / 0.663 GB, free: 2.324 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.0076/1.129, allocations: 5.803 MB / 0.6687 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00795/1.137, allocations: 4.621 MB / 0.6732 GB, free: 7.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.137, allocations: 4.875 kB / 0.6732 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/1.14, allocations: 1.734 MB / 0.6749 GB, free: 6.098 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/1.143, allocations: 0.6828 MB / 0.6756 GB, free: 5.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06735/1.211, allocations: 40.17 MB / 0.7148 GB, free: 10.61 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00824/1.219, allocations: 5.641 MB / 0.7203 GB, free: 4.922 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004193/1.223, allocations: 1.705 MB / 0.722 GB, free: 3.211 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004348/1.228, allocations: 2.729 MB / 0.7247 GB, free: 492 kB / 0.5138 GB Notification: Performance of SimCode: time 1.062e-06/1.228, allocations: 0 / 0.7247 GB, free: 492 kB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3359/1.564, allocations: 89.86 MB / 0.8124 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/17.09, allocations: 5.25 kB / 0.8124 GB, free: 130.6 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