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.0008278/0.0008278, allocations: 76.06 kB / 20.67 MB, free: 3.887 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.0007558/0.0007558, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.8734/0.8734, allocations: 173.4 MB / 200.5 MB, free: 9.426 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 1.634e-06/1.634e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.581e-05, allocations: 6.219 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008313/0.008339, allocations: 7.992 MB / 326.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.01358, allocations: 2.48 MB / 328.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.01487, allocations: 83.56 kB / 329 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.01895, allocations: 3.682 MB / 332.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.02175, allocations: 0.9162 MB / 333.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.02357, allocations: 0.7772 MB / 334.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003697/0.02726, allocations: 3.769 MB / 338.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008508/0.03577, allocations: 6.14 MB / 344.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.04053, allocations: 3.175 MB / 347.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.04417, allocations: 2.054 MB / 349.5 MB, free: 7.117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.04576, allocations: 0.582 MB / 350.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.04793, allocations: 0.7925 MB / 350.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.04919, allocations: 1.126 MB / 352 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.05154, allocations: 1.521 MB / 353.5 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007729/0.05927, allocations: 7.986 MB / 361.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.05928, allocations: 0 / 361.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.05928, allocations: 4 kB / 361.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002316/0.05951, allocations: 3.938 kB / 361.5 MB, free: 11.07 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.01144/0.07095, allocations: 4.815 MB / 366.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.412e-05/0.07103, allocations: 16.86 kB / 366.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001283/0.07231, allocations: 0.5884 MB / 366.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/0.07622, allocations: 1.282 MB / 368.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.07976, allocations: 2.305 MB / 370.5 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.07993, allocations: 316.5 kB / 370.8 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/0.08051, allocations: 408 kB / 371.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007584/0.0881, allocations: 5.498 MB / 376.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-05/0.08816, allocations: 7.938 kB / 376.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.08845, allocations: 168 kB / 376.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.08861, allocations: 180.6 kB / 377.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00733/0.09594, allocations: 4.785 MB / 381.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.1179, allocations: 17.08 MB / 398.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.1201, allocations: 1.737 MB / 400.7 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.121, allocations: 0.7188 MB / 401.4 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.1211, allocations: 28.98 kB / 401.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1211, allocations: 43.56 kB / 401.5 MB, free: 2.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 6.281e-06/0.1212, allocations: 0 / 401.5 MB, free: 2.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.002033/0.1232, allocations: 1.562 MB / 403 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1232, allocations: 60.41 kB / 403.1 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.1247, allocations: 1.404 MB / 404.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.1247, allocations: 41.7 kB / 404.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.1261, allocations: 1.815 MB / 406.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.1263, allocations: 380.9 kB / 406.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/0.1268, allocations: 447.7 kB / 407.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1269, allocations: 353.9 kB / 407.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.1277, allocations: 0.8279 MB / 408.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.129, allocations: 1.823 MB / 410.2 MB, free: 9.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.1313, allocations: 2.798 MB / 413 MB, free: 5.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.1314, allocations: 8 kB / 413 MB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002585/0.1339, allocations: 2.731 MB / 415.7 MB, free: 3.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.134, allocations: 23.98 kB / 415.7 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/0.134, allocations: 39.98 kB / 415.8 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.911e-05/0.1341, allocations: 52 kB / 415.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/0.135, allocations: 0.527 MB / 416.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/0.1351, allocations: 63.8 kB / 416.4 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009393/0.136, allocations: 290 kB / 416.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.1361, allocations: 120 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.001649/0.1378, allocations: 1.492 MB / 418.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1379, allocations: 131.1 kB / 418.4 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.1397, allocations: 1.454 MB / 419.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009343/0.1406, allocations: 1.037 MB / 420.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1406, allocations: 0 / 420.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1407, allocations: 3.984 kB / 420.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.1516, allocations: 10.81 MB / 431.7 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.1516, allocations: 24 kB / 431.7 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.152, allocations: 227.5 kB / 432 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.152, allocations: 31.94 kB / 432 MB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.1521, allocations: 48 kB / 432 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-05/0.1521, allocations: 39.86 kB / 432.1 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/0.1521, allocations: 31.88 kB / 432.1 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.155, allocations: 2.618 MB / 434.7 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.1554, allocations: 274.7 kB / 435 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.1555, allocations: 43.98 kB / 435 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.1559, allocations: 71.94 kB / 435.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1561, allocations: 143.3 kB / 435.3 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.1561, allocations: 71.86 kB / 435.3 MB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008766/0.157, allocations: 0.9062 MB / 436.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.157, allocations: 0 / 436.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001948/0.1589, allocations: 0.8832 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.002524/0.1615, allocations: 3.259 MB / 440.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.1638, allocations: 1.841 MB / 442.2 MB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.1638, allocations: 4 kB / 442.2 MB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.1644, allocations: 0.6053 MB / 442.8 MB, free: 6.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.1656, allocations: 342 kB / 443.2 MB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.161/0.3266, allocations: 18.52 MB / 461.7 MB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.3278, allocations: 2.256 MB / 463.9 MB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009132/0.3287, allocations: 0.7611 MB / 464.7 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006863/0.3294, allocations: 1.137 MB / 465.8 MB, free: 108.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3294, allocations: 0 / 465.8 MB, free: 108.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.3739, allocations: 40.41 MB / 0.4944 GB, free: 68.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.8, allocations: 8.062 kB / 0.4944 GB, free: 68.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.570700620301068]