Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 60.5 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.09211, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.1679/0.26, allocations: 13.93 MB / 372.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006971/0.267, allocations: 3.848 MB / 376.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.2682, allocations: 99.91 kB / 376.8 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009596/0.2779, allocations: 5.562 MB / 382.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.2817, allocations: 1.358 MB / 383.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.2842, allocations: 1.195 MB / 384.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006341/0.2905, allocations: 6.378 MB / 391.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.3051, allocations: 13.7 MB / 405 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004381/0.3095, allocations: 3.288 MB / 408.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004358/0.3139, allocations: 3.847 MB / 412.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.3151, allocations: 0.8867 MB / 413 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.3171, allocations: 1.083 MB / 414.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001584/0.3187, allocations: 1.772 MB / 415.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003647/0.3224, allocations: 3.569 MB / 419.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3325, allocations: 11.96 MB / 431.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3326, allocations: 0 / 431.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3326, allocations: 0 / 431.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001943/0.3328, allocations: 0 / 431.4 MB, free: 2.824 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01746/0.3502, allocations: 7.779 MB / 439.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3503, allocations: 8.031 kB / 439.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/0.3691, allocations: 2.916 MB / 442.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008337/0.3774, allocations: 3.739 MB / 445.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/0.3778, allocations: 479.6 kB / 446.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.379, allocations: 0.6226 MB / 446.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.3949, allocations: 9.311 MB / 456.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.3951, allocations: 15.84 kB / 456.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005844/0.3957, allocations: 262.4 kB / 456.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/0.396, allocations: 317.4 kB / 456.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.409, allocations: 7.954 MB / 464.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03957/0.4485, allocations: 28.69 MB / 493.5 MB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.4595, allocations: 11.71 MB / 0.4933 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.4619, allocations: 1.603 MB / 0.4949 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.4622, allocations: 220.1 kB / 0.4951 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.4622, allocations: 68.5 kB / 0.4952 GB, free: 4.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 6.192e-06/0.4622, allocations: 0 / 0.4952 GB, free: 4.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007308/0.4696, allocations: 4.174 MB / 0.4992 GB, free: 292 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4696, allocations: 99.11 kB / 0.4993 GB, free: 172 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.4721, allocations: 1.899 MB / 0.5012 GB, free: 14.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.4723, allocations: 65.7 kB / 0.5013 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.4737, allocations: 2.547 MB / 0.5037 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005931/0.4743, allocations: 0.8088 MB / 0.5045 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008768/0.4752, allocations: 0.6637 MB / 0.5052 GB, free: 10.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.4753, allocations: 301.1 kB / 0.5055 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.4772, allocations: 1.4 MB / 0.5068 GB, free: 8.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.4799, allocations: 2.591 MB / 0.5094 GB, free: 5.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/0.4847, allocations: 4.234 MB / 0.5135 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.4847, allocations: 12 kB / 0.5135 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006476/0.4912, allocations: 4.514 MB / 0.5179 GB, free: 11.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.4912, allocations: 27.98 kB / 0.5179 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.926e-05/0.4913, allocations: 36 kB / 0.518 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/0.492, allocations: 313.7 kB / 0.5183 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.4946, allocations: 0.7761 MB / 0.519 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/0.4998, allocations: 5.057 MB / 0.524 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.5019, allocations: 412 kB / 0.5244 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.5021, allocations: 160 kB / 0.5245 GB, free: 4.941 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003722/0.5058, allocations: 2.187 MB / 0.5267 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.5063, allocations: 209.5 kB / 0.5269 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.187/0.6933, allocations: 3.176 MB / 0.53 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/0.6934, allocations: 23.94 kB / 0.53 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.6934, allocations: 5.5 kB / 0.53 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.085e-05/0.6935, allocations: 17.42 kB / 0.53 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.7121, allocations: 12.63 MB / 0.5423 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.7122, allocations: 14.38 kB / 0.5423 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.7139, allocations: 435 kB / 0.5428 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.7146, allocations: 274.7 kB / 0.543 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.7147, allocations: 66.06 kB / 0.5431 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004228/0.719, allocations: 4.981 MB / 0.5479 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/0.719, allocations: 23.34 kB / 0.548 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005803/0.7248, allocations: 5.001 MB / 0.5529 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009893/0.7258, allocations: 0.5245 MB / 0.5534 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.7261, allocations: 70.62 kB / 0.5534 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7272, allocations: 127.6 kB / 0.5536 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.7275, allocations: 203.7 kB / 0.5538 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.7277, allocations: 86.89 kB / 0.5538 GB, free: 122.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.7291, allocations: 1.288 MB / 0.5551 GB, free: 122.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7291, allocations: 6.406 kB / 0.5551 GB, free: 122.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003162/0.7323, allocations: 1.43 MB / 0.5565 GB, free: 121.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004184/0.7327, allocations: 229.9 kB / 0.5567 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004427/0.7371, allocations: 3.664 MB / 0.5603 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.7372, allocations: 0 / 0.5603 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.7389, allocations: 1.687 MB / 0.5619 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.7411, allocations: 0.5135 MB / 0.5624 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.7538, allocations: 9.881 MB / 0.5721 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002943/0.7567, allocations: 3.999 MB / 0.576 GB, free: 111.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00257/0.7593, allocations: 1.206 MB / 0.5772 GB, free: 111 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.7598, allocations: 183.4 kB / 0.5773 GB, free: 110.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7598, allocations: 0 / 0.5773 GB, free: 110.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04124/0.8011, allocations: 30.84 MB / 0.6075 GB, free: 80.15 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches