Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0008911/0.0008911, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007971/0.0007971, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.9015/0.9015, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.614e-06/2.614e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.534e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.00654/0.006566, allocations: 7.995 MB / 326.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005015/0.01158, allocations: 2.487 MB / 328.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008084/0.01239, allocations: 79.56 kB / 329 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003622/0.01601, allocations: 3.67 MB / 332.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.01829, allocations: 0.9315 MB / 333.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.01963, allocations: 0.7733 MB / 334.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.02247, allocations: 3.773 MB / 338.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005588/0.02806, allocations: 6.133 MB / 344.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.03101, allocations: 3.183 MB / 347.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.03372, allocations: 2.047 MB / 349.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000796/0.03451, allocations: 0.582 MB / 350.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.03573, allocations: 0.7926 MB / 350.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006657/0.03639, allocations: 1.13 MB / 352 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.03784, allocations: 1.521 MB / 353.5 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.04341, allocations: 7.986 MB / 361.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.04341, allocations: 0 / 361.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.04342, allocations: 0 / 361.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001598/0.04358, allocations: 0 / 361.5 MB, free: 11.08 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.00776/0.05134, allocations: 4.818 MB / 366.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.05138, allocations: 12.92 kB / 366.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006227/0.052, allocations: 0.5923 MB / 366.9 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/0.05556, allocations: 1.294 MB / 368.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.05843, allocations: 2.301 MB / 370.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.05857, allocations: 312.6 kB / 370.8 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003878/0.05896, allocations: 412 kB / 371.2 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006654/0.06561, allocations: 5.494 MB / 376.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-05/0.06567, allocations: 3.953 kB / 376.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.06592, allocations: 172 kB / 376.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.06604, allocations: 184.6 kB / 377.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005837/0.07187, allocations: 4.785 MB / 381.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.09222, allocations: 17.08 MB / 399 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.09441, allocations: 1.733 MB / 400.7 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007656/0.09518, allocations: 0.7149 MB / 401.4 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.323e-05/0.09527, allocations: 32.97 kB / 401.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.0953, allocations: 43.56 kB / 401.5 MB, free: 2.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 2.976e-06/0.0953, allocations: 0 / 401.5 MB, free: 2.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.001642/0.09694, allocations: 1.562 MB / 403 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.09698, allocations: 60.41 kB / 403.1 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.09828, allocations: 1.404 MB / 404.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.09833, allocations: 41.7 kB / 404.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009675/0.0993, allocations: 1.823 MB / 406.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.0995, allocations: 372.9 kB / 406.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.09988, allocations: 447.7 kB / 407.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.09998, allocations: 349.9 kB / 407.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/0.1008, allocations: 0.8279 MB / 408.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.1021, allocations: 1.823 MB / 410.2 MB, free: 9.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.1048, allocations: 2.794 MB / 413 MB, free: 5.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.1048, allocations: 15.94 kB / 413 MB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002945/0.1078, allocations: 2.731 MB / 415.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.1078, allocations: 20.97 kB / 415.7 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/0.1079, allocations: 39.98 kB / 415.8 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.603e-05/0.1079, allocations: 56 kB / 415.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1089, allocations: 0.5186 MB / 416.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.68e-05/0.109, allocations: 71.72 kB / 416.4 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.1098, allocations: 290 kB / 416.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.1099, allocations: 116 kB / 416.8 MB, free: 2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001877/0.1118, allocations: 1.496 MB / 418.3 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.112, allocations: 127.2 kB / 418.4 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.1138, allocations: 1.458 MB / 419.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009175/0.1148, allocations: 1.033 MB / 420.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1148, allocations: 0 / 420.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1148, allocations: 3.984 kB / 420.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.1263, allocations: 10.82 MB / 431.7 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.1263, allocations: 20 kB / 431.8 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.1268, allocations: 231.5 kB / 432 MB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/0.1268, allocations: 31.94 kB / 432 MB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.1269, allocations: 44.72 kB / 432.1 MB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-05/0.1269, allocations: 39.86 kB / 432.1 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/0.1269, allocations: 35.88 kB / 432.1 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.1297, allocations: 2.614 MB / 434.7 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.1302, allocations: 274.7 kB / 435 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.1302, allocations: 43.98 kB / 435.1 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.1307, allocations: 71.94 kB / 435.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1308, allocations: 151.4 kB / 435.3 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.1309, allocations: 59.94 kB / 435.3 MB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009278/0.1318, allocations: 0.9062 MB / 436.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1318, allocations: 3.938 kB / 436.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001922/0.1337, allocations: 0.8793 MB / 437.1 MB, free: 12.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/0.1362, allocations: 3.269 MB / 440.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.1385, allocations: 1.832 MB / 442.2 MB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.1385, allocations: 4 kB / 442.2 MB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.1391, allocations: 0.6112 MB / 442.8 MB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.1403, allocations: 341.1 kB / 443.2 MB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1557/0.2961, allocations: 18.51 MB / 461.7 MB, free: 111.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.2976, allocations: 2.253 MB / 463.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001001/0.2986, allocations: 0.7625 MB / 464.7 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007419/0.2994, allocations: 1.141 MB / 465.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.2994, allocations: 4 kB / 465.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04689/0.3463, allocations: 40.41 MB / 0.4944 GB, free: 68.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.067, allocations: 4 kB / 0.4944 GB, free: 68.53 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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: 9.85575969144702]