Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008449/0.1136, allocations: 6.031 MB / 423.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.1175, allocations: 1.647 MB / 425.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.1184, allocations: 55.69 kB / 425.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.1192, allocations: 325.4 kB / 425.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1207, allocations: 373.5 kB / 426.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.1216, allocations: 351.6 kB / 426.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.1241, allocations: 2.013 MB / 428.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.1267, allocations: 2.017 MB / 430.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.1282, allocations: 1.063 MB / 431.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.13, allocations: 1.222 MB / 432.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.1306, allocations: 312 kB / 433.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009673/0.1315, allocations: 499.6 kB / 433.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.1322, allocations: 0.7325 MB / 434.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.1338, allocations: 1.264 MB / 435.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.1379, allocations: 3.807 MB / 439.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.1379, allocations: 3.984 kB / 439.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1379, allocations: 0 / 439.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.194e-05/0.138, allocations: 0 / 439.5 MB, free: 6.816 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004876/0.1428, allocations: 2.514 MB / 442 MB, free: 4.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.1429, allocations: 12.03 kB / 442 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004255/0.1433, allocations: 324.9 kB / 442.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006083/0.1439, allocations: 251.4 kB / 442.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.1461, allocations: 1.314 MB / 443.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.1462, allocations: 168.9 kB / 444 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.1466, allocations: 219.9 kB / 444.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2224/0.369, allocations: 2.542 MB / 446.8 MB, free: 28.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.369, allocations: 2.438 kB / 446.8 MB, free: 28.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.3692, allocations: 94.06 kB / 446.9 MB, free: 28.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.559e-05/0.3693, allocations: 54.19 kB / 446.9 MB, free: 28.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.3726, allocations: 2.139 MB / 449.1 MB, free: 28.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.3835, allocations: 7.51 MB / 456.6 MB, free: 25.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3846, allocations: 1.217 MB / 457.8 MB, free: 24.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.3856, allocations: 0.6069 MB / 458.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.3857, allocations: 7.641 kB / 458.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3857, allocations: 47.28 kB / 458.5 MB, free: 23.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.705e-06/0.3857, allocations: 0.6562 kB / 458.5 MB, free: 23.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003812/0.3895, allocations: 2.443 MB / 460.9 MB, free: 22.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.3895, allocations: 58.56 kB / 461 MB, free: 22.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009879/0.3905, allocations: 0.7956 MB / 461.8 MB, free: 22.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.3906, allocations: 36.2 kB / 461.8 MB, free: 22.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.391, allocations: 0.9435 MB / 462.7 MB, free: 21.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3912, allocations: 241.5 kB / 463 MB, free: 21.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.3914, allocations: 150.5 kB / 463.1 MB, free: 21.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3915, allocations: 395.3 kB / 463.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.392, allocations: 362.5 kB / 463.9 MB, free: 20.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.3926, allocations: 0.5788 MB / 464.4 MB, free: 20.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3937, allocations: 0.986 MB / 465.4 MB, free: 19.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3937, allocations: 2.531 kB / 465.4 MB, free: 19.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001687/0.3954, allocations: 1.146 MB / 466.6 MB, free: 19.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3954, allocations: 8.25 kB / 466.6 MB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.3954, allocations: 11.31 kB / 466.6 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.3957, allocations: 112.6 kB / 466.7 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.3964, allocations: 167.6 kB / 466.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.3981, allocations: 2.338 MB / 469.2 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.3986, allocations: 47.25 kB / 469.2 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.3987, allocations: 34.12 kB / 469.3 MB, free: 17.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008542/0.3995, allocations: 0.6509 MB / 469.9 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.3997, allocations: 86.08 kB / 470 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.3999, allocations: 101.7 kB / 470.1 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.3999, allocations: 7.688 kB / 470.1 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.4, allocations: 6.062 kB / 470.1 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4, allocations: 3.984 kB / 470.1 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.4041, allocations: 2.647 MB / 472.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4041, allocations: 1.375 kB / 472.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.4046, allocations: 113 kB / 472.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.4048, allocations: 100 kB / 473 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.4049, allocations: 17.59 kB / 473 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.4064, allocations: 2.262 MB / 475.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4064, allocations: 2 kB / 475.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.4083, allocations: 1.422 MB / 476.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.4087, allocations: 230.9 kB / 476.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4088, allocations: 17.34 kB / 476.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.4093, allocations: 42.08 kB / 477 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4094, allocations: 46.06 kB / 477 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.4094, allocations: 29.98 kB / 477 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007034/0.4101, allocations: 0.5543 MB / 477.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4101, allocations: 0 / 477.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4114, allocations: 301.7 kB / 477.9 MB, free: 11.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002175/0.4135, allocations: 2.008 MB / 479.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.4151, allocations: 0.9687 MB / 480.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4151, allocations: 3.938 kB / 480.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006836/0.4158, allocations: 0.5351 MB / 481.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4169, allocations: 221.9 kB / 481.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.4304, allocations: 10.13 MB / 491.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.432, allocations: 1.723 MB / 493.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005642/0.4326, allocations: 199.6 kB / 493.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009828/0.4335, allocations: 0.6438 MB / 494.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4335, allocations: 0 / 494.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.4968, allocations: 24.46 MB / 0.5066 GB, free: 6.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.83, allocations: 7.172 kB / 0.5066 GB, free: 6.207 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.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_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.476669128984213]