Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001446, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.518/1.518, allocations: 227.7 MB / 247.7 MB, free: 10.38 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 61.25 kB / 307.9 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09808, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.0109/0.109, allocations: 9.126 MB / 367.6 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.1142, allocations: 2.643 MB / 370.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.115, allocations: 67.81 kB / 370.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1586/0.2736, allocations: 3.722 MB / 374 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.2764, allocations: 0.7446 MB / 374.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.2784, allocations: 0.9376 MB / 375.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003855/0.2823, allocations: 3.597 MB / 379.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.2928, allocations: 9.55 MB / 388.8 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.2958, allocations: 2.085 MB / 390.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.2993, allocations: 2.38 MB / 393.3 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.3004, allocations: 0.5865 MB / 393.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.3021, allocations: 0.8177 MB / 394.7 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00077/0.3029, allocations: 1.108 MB / 395.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.3049, allocations: 2.282 MB / 398.1 MB, free: 380 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007804/0.3127, allocations: 7.854 MB / 405.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3127, allocations: 0 / 405.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3127, allocations: 0 / 405.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001618/0.3129, allocations: 0 / 405.9 MB, free: 9.961 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.01241/0.3253, allocations: 4.851 MB / 410.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3254, allocations: 16.03 kB / 410.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008143/0.3335, allocations: 1.294 MB / 412.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.3377, allocations: 2.23 MB / 414.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.338, allocations: 319 kB / 414.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007858/0.3388, allocations: 415.1 kB / 415 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.3494, allocations: 5.464 MB / 420.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.549e-05/0.3495, allocations: 7.906 kB / 420.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000399/0.3499, allocations: 175.1 kB / 420.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/0.3501, allocations: 180.6 kB / 420.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009088/0.3592, allocations: 4.792 MB / 425.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02988/0.3891, allocations: 19.53 MB / 445.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/0.3945, allocations: 3.895 MB / 449.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.396, allocations: 0.7789 MB / 449.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.3962, allocations: 198.2 kB / 450.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3963, allocations: 43.5 kB / 450.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.106e-06/0.3963, allocations: 0 / 450.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002657/0.399, allocations: 1.557 MB / 451.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.399, allocations: 64.41 kB / 451.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.401, allocations: 1.33 MB / 453 MB, free: 9.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.4011, allocations: 41.7 kB / 453.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.4027, allocations: 1.756 MB / 454.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.403, allocations: 369.8 kB / 455.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/0.4037, allocations: 447.3 kB / 455.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4039, allocations: 349.9 kB / 456 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.4052, allocations: 0.8279 MB / 456.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.4073, allocations: 1.825 MB / 458.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.4107, allocations: 2.804 MB / 461.4 MB, free: 236 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.4107, allocations: 8 kB / 461.4 MB, free: 228 kB / 366.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004299/0.415, allocations: 2.729 MB / 464.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.4151, allocations: 23.94 kB / 464.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/0.4151, allocations: 32 kB / 464.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.035e-05/0.4152, allocations: 48 kB / 464.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4169, allocations: 0.5186 MB / 464.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.075e-05/0.417, allocations: 67.78 kB / 464.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4182, allocations: 293.5 kB / 465.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.4184, allocations: 116 kB / 465.3 MB, free: 12.4 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.002257/0.4207, allocations: 1.488 MB / 466.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.4209, allocations: 118.5 kB / 466.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.4234, allocations: 1.462 MB / 468.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001589/0.425, allocations: 1.037 MB / 469.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.425, allocations: 0 / 469.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.425, allocations: 7.922 kB / 469.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/0.4434, allocations: 13.73 MB / 483.1 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/0.4434, allocations: 20 kB / 483.1 MB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.4443, allocations: 227.5 kB / 483.3 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.324e-05/0.4443, allocations: 31.94 kB / 483.4 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.4444, allocations: 48 kB / 483.4 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.392e-05/0.4444, allocations: 43.84 kB / 483.5 MB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.338e-05/0.4445, allocations: 35.81 kB / 483.5 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.4479, allocations: 2.651 MB / 486.2 MB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.4485, allocations: 339.1 kB / 486.5 MB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.4487, allocations: 55.88 kB / 486.5 MB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.4494, allocations: 67.95 kB / 486.6 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.4496, allocations: 139.5 kB / 486.7 MB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/0.4497, allocations: 59.94 kB / 486.8 MB, free: 5.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00127/0.451, allocations: 0.9062 MB / 487.7 MB, free: 4.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.451, allocations: 0 / 487.7 MB, free: 4.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002463/0.4535, allocations: 0.8701 MB / 488.6 MB, free: 3.719 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.0003535/0.4538, allocations: 205.6 kB / 488.8 MB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002897/0.4568, allocations: 1.931 MB / 490.7 MB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4568, allocations: 0 / 490.7 MB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009303/0.4577, allocations: 0.6316 MB / 491.3 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.4596, allocations: 341.6 kB / 491.7 MB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4697, allocations: 6.362 MB / 498 MB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002751/0.4725, allocations: 2.742 MB / 0.489 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.4729, allocations: 131.4 kB / 0.4892 GB, free: 7.031 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.473, allocations: 0 / 0.4892 GB, free: 7.031 MB / 414.1 MB Notification: Performance of Templates: time 0.05041/0.5234, allocations: 35.13 MB / 0.5235 GB, free: 3.961 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches