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.002167/0.002167, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001755/0.001755, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.156/2.156, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 52.05 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1255, allocations: 49.44 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02933/0.1549, allocations: 16.48 MB / 366.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2563/0.4112, allocations: 4.074 MB / 370.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005515/0.4168, allocations: 138.2 kB / 370.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02337/0.4403, allocations: 7.444 MB / 378.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007585/0.4479, allocations: 1.474 MB / 379.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.4526, allocations: 1.096 MB / 380.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01283/0.4654, allocations: 8.17 MB / 389 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0515/0.517, allocations: 22.62 MB / 411.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/0.5281, allocations: 4.798 MB / 416.5 MB, free: 88 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01333/0.5416, allocations: 5.331 MB / 421.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005311/0.5469, allocations: 1.383 MB / 423.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007847/0.5548, allocations: 1.645 MB / 424.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005356/0.5602, allocations: 2.581 MB / 427.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01109/0.5713, allocations: 5.216 MB / 432.6 MB, free: 88 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02751/0.5989, allocations: 18.19 MB / 450.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5989, allocations: 0 / 450.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.461e-06/0.5989, allocations: 0 / 450.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004631/0.5994, allocations: 3.938 kB / 450.8 MB, free: 14.18 MB / 366.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.04775/0.6472, allocations: 10.43 MB / 461.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.078e-05/0.6473, allocations: 12.03 kB / 461.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00579/0.6531, allocations: 1.301 MB / 462.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03841/0.6915, allocations: 3.726 MB / 466.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.7074, allocations: 5.176 MB / 471.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.7085, allocations: 0.6809 MB / 472.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003831/0.7124, allocations: 0.8899 MB / 473 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0424/0.7548, allocations: 12.72 MB / 485.7 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003972/0.7552, allocations: 19.84 kB / 485.8 MB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00292/0.7582, allocations: 375.4 kB / 486.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.7588, allocations: 395.1 kB / 486.5 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03833/0.7971, allocations: 11.41 MB / 497.9 MB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/0.9085, allocations: 43.68 MB / 0.5289 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4778/1.386, allocations: 10.5 MB / 0.5392 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/1.39, allocations: 1.684 MB / 0.5408 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/1.391, allocations: 136.7 kB / 0.5409 GB, free: 127 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.391, allocations: 56.38 kB / 0.541 GB, free: 126.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 7.054e-06/1.391, allocations: 1.156 kB / 0.541 GB, free: 126.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.01371/1.404, allocations: 4.664 MB / 0.5455 GB, free: 125.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/1.405, allocations: 74.41 kB / 0.5456 GB, free: 125.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006612/1.411, allocations: 2.922 MB / 0.5485 GB, free: 124.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/1.411, allocations: 62.67 kB / 0.5485 GB, free: 124.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.414, allocations: 3.83 MB / 0.5523 GB, free: 121.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009041/1.415, allocations: 0.7912 MB / 0.553 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0019/1.417, allocations: 0.9514 MB / 0.554 GB, free: 120.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/1.417, allocations: 302.3 kB / 0.5543 GB, free: 120.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004366/1.421, allocations: 1.974 MB / 0.5562 GB, free: 119.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/1.427, allocations: 4.152 MB / 0.5602 GB, free: 116.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009747/1.437, allocations: 6.517 MB / 0.5666 GB, free: 111.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/1.437, allocations: 23.81 kB / 0.5666 GB, free: 111.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01657/1.453, allocations: 6.498 MB / 0.573 GB, free: 108.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/1.454, allocations: 38.16 kB / 0.573 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/1.454, allocations: 75.78 kB / 0.5731 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/1.455, allocations: 417.8 kB / 0.5735 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005541/1.461, allocations: 1.063 MB / 0.5745 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006844/1.467, allocations: 4.391 MB / 0.5788 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/1.473, allocations: 0.6198 MB / 0.5794 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008276/1.474, allocations: 247.9 kB / 0.5797 GB, free: 105.2 MB / 446.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.007077/1.481, allocations: 3.367 MB / 0.5829 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009017/1.482, allocations: 279.9 kB / 0.5832 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008229/1.49, allocations: 3.577 MB / 0.5867 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00587/1.496, allocations: 2.807 MB / 0.5894 GB, free: 99.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.496, allocations: 4 kB / 0.5894 GB, free: 99.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/1.496, allocations: 11.95 kB / 0.5895 GB, free: 99.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/1.52, allocations: 9.931 MB / 0.5992 GB, free: 89.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/1.52, allocations: 6.5 kB / 0.5992 GB, free: 89.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/1.523, allocations: 407.4 kB / 0.5996 GB, free: 88.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/1.524, allocations: 316.7 kB / 0.5999 GB, free: 88.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/1.524, allocations: 55.92 kB / 0.5999 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006485/1.531, allocations: 4.195 MB / 0.604 GB, free: 84.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.531, allocations: 7.984 kB / 0.604 GB, free: 84.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.541, allocations: 5.115 MB / 0.609 GB, free: 79.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.543, allocations: 0.6064 MB / 0.6096 GB, free: 78.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007981/1.544, allocations: 40.09 kB / 0.6096 GB, free: 78.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/1.546, allocations: 135.8 kB / 0.6098 GB, free: 78.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/1.546, allocations: 153.8 kB / 0.6099 GB, free: 78.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.547, allocations: 64.86 kB / 0.61 GB, free: 78.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005066/1.552, allocations: 1.959 MB / 0.6119 GB, free: 76.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.552, allocations: 0 / 0.6119 GB, free: 76.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007925/1.56, allocations: 1.962 MB / 0.6138 GB, free: 74.15 MB / 446.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.01085/1.571, allocations: 5.781 MB / 0.6194 GB, free: 68.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02036/1.591, allocations: 6.966 MB / 0.6263 GB, free: 61.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.591, allocations: 4 kB / 0.6263 GB, free: 61.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00379/1.595, allocations: 1.731 MB / 0.6279 GB, free: 59.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/1.601, allocations: 0.6747 MB / 0.6286 GB, free: 58.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08532/1.686, allocations: 43.26 MB / 0.6709 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/1.697, allocations: 5.645 MB / 0.6764 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00733/1.704, allocations: 1.698 MB / 0.678 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005564/1.71, allocations: 2.725 MB / 0.6807 GB, free: 1.531 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/1.71, allocations: 0 / 0.6807 GB, free: 1.531 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4597/2.17, allocations: 90.4 MB / 0.769 GB, free: 96.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/20.19, allocations: 2.156 kB / 0.769 GB, free: 96.21 MB / 462.1 MB (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