Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 63.27 kB / 307.1 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08851, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.00974/0.09827, allocations: 9.117 MB / 366.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005661/0.104, allocations: 2.651 MB / 369.4 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.1058, allocations: 63.81 kB / 369.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1798/0.2856, allocations: 3.717 MB / 373.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.2886, allocations: 0.7466 MB / 373.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.2907, allocations: 0.9325 MB / 374.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004025/0.2948, allocations: 3.604 MB / 378.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/0.3056, allocations: 9.55 MB / 388 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.3085, allocations: 2.087 MB / 390.1 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.3119, allocations: 2.378 MB / 392.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009883/0.3129, allocations: 0.5834 MB / 393 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.3146, allocations: 0.8211 MB / 393.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007389/0.3154, allocations: 1.106 MB / 395 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.3177, allocations: 2.283 MB / 397.2 MB, free: 468 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007262/0.3249, allocations: 7.903 MB / 405.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.325, allocations: 0 / 405.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.325, allocations: 4 kB / 405.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001271/0.3251, allocations: 0 / 405.1 MB, free: 10.25 MB / 318.1 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.01143/0.3366, allocations: 4.86 MB / 410 MB, free: 5.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3366, allocations: 8.031 kB / 410 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008912/0.3375, allocations: 0.5922 MB / 410.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/0.3449, allocations: 1.29 MB / 411.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/0.3501, allocations: 2.231 MB / 414.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004032/0.3505, allocations: 313.8 kB / 414.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.352, allocations: 409.8 kB / 414.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01893/0.371, allocations: 5.472 MB / 420.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.3712, allocations: 7.906 kB / 420.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000975/0.3722, allocations: 166.2 kB / 420.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002672/0.3724, allocations: 184.6 kB / 420.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.3867, allocations: 4.796 MB / 425.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02988/0.4166, allocations: 19.53 MB / 445 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.421, allocations: 3.891 MB / 448.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.4222, allocations: 0.7769 MB / 449.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.4224, allocations: 198.1 kB / 449.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.4225, allocations: 47.56 kB / 449.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.695e-06/0.4225, allocations: 0 / 449.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002166/0.4247, allocations: 1.553 MB / 451.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.4247, allocations: 64.41 kB / 451.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.4264, allocations: 1.334 MB / 452.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.4265, allocations: 45.7 kB / 452.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.4275, allocations: 1.756 MB / 454.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.4278, allocations: 358.1 kB / 455 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005682/0.4283, allocations: 451.3 kB / 455.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4285, allocations: 353.9 kB / 455.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4296, allocations: 0.8279 MB / 456.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.4314, allocations: 1.831 MB / 458.4 MB, free: 3.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.4341, allocations: 2.79 MB / 461.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/0.4342, allocations: 8 kB / 461.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003731/0.4379, allocations: 2.73 MB / 464 MB, free: 13.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.438, allocations: 26.91 kB / 464 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/0.438, allocations: 32 kB / 464 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.645e-05/0.438, allocations: 48.78 kB / 464.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.4396, allocations: 0.5226 MB / 464.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.325e-05/0.4396, allocations: 71.72 kB / 464.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.4416, allocations: 289.2 kB / 464.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.4418, allocations: 112 kB / 465 MB, free: 12.1 MB / 382.1 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.003024/0.4449, allocations: 1.488 MB / 466.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.4452, allocations: 122.5 kB / 466.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.4484, allocations: 1.462 MB / 468.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002057/0.4505, allocations: 1.033 MB / 469.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.4505, allocations: 4 kB / 469.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.4506, allocations: 7.969 kB / 469.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02452/0.4751, allocations: 13.73 MB / 482.9 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.349e-05/0.4752, allocations: 20 kB / 482.9 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.4765, allocations: 227.5 kB / 483.1 MB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-05/0.4766, allocations: 28.78 kB / 483.2 MB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.4767, allocations: 55.92 kB / 483.2 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.39e-05/0.4768, allocations: 47.84 kB / 483.3 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-05/0.4768, allocations: 31.88 kB / 483.3 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/0.4815, allocations: 2.648 MB / 485.9 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/0.4823, allocations: 339.1 kB / 486.3 MB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.4827, allocations: 47.98 kB / 486.3 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.4842, allocations: 76 kB / 486.4 MB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.4845, allocations: 139.3 kB / 486.5 MB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/0.4846, allocations: 59.98 kB / 486.6 MB, free: 5.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002247/0.4869, allocations: 0.9023 MB / 487.5 MB, free: 4.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.4869, allocations: 0 / 487.5 MB, free: 4.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003584/0.4905, allocations: 0.874 MB / 488.4 MB, free: 3.402 MB / 398.1 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.004184/0.4947, allocations: 3.287 MB / 491.7 MB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.4981, allocations: 1.938 MB / 493.6 MB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/0.4981, allocations: 0 / 493.6 MB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.499, allocations: 0.6297 MB / 494.2 MB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.5014, allocations: 342.2 kB / 494.6 MB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/0.5322, allocations: 19.13 MB / 0.5016 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004086/0.5363, allocations: 2.805 MB / 0.5044 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001893/0.5382, allocations: 0.7654 MB / 0.5051 GB, free: 4.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.5397, allocations: 1.14 MB / 0.5062 GB, free: 3.102 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5397, allocations: 4 kB / 0.5062 GB, free: 3.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/1.603, allocations: 38.02 MB / 0.5434 GB, free: 140.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/16.02, allocations: 6.875 kB / 0.5434 GB, free: 140.3 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches