Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108.3 kB / 18.4 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 188.1 kB / 19.33 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 47.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.2594/0.3609, allocations: 14.61 MB / 390.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.3713, allocations: 3.934 MB / 394.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.3758, allocations: 87.56 kB / 394.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01354/0.3894, allocations: 5.609 MB / 400.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.398, allocations: 1.74 MB / 401.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.4026, allocations: 1.094 MB / 402.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01204/0.4147, allocations: 6.747 MB / 409.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02659/0.4413, allocations: 13.75 MB / 423.4 MB, free: 188 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007648/0.449, allocations: 3.499 MB / 426.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007804/0.4568, allocations: 4.123 MB / 431 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003047/0.4599, allocations: 0.918 MB / 431.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004454/0.4644, allocations: 1.101 MB / 433 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003939/0.4684, allocations: 1.925 MB / 435 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008454/0.4769, allocations: 3.789 MB / 438.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01651/0.4934, allocations: 12.39 MB / 451.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4935, allocations: 4 kB / 451.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4935, allocations: 0 / 451.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004352/0.4939, allocations: 0 / 451.1 MB, free: 4.359 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02561/0.5196, allocations: 8.295 MB / 459.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5196, allocations: 8.031 kB / 459.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03197/0.5516, allocations: 5.076 MB / 464.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00928/0.5609, allocations: 3.543 MB / 468.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005544/0.5615, allocations: 0.5058 MB / 468.6 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003032/0.5646, allocations: 0.6678 MB / 469.2 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/0.5916, allocations: 10.47 MB / 479.7 MB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/0.5919, allocations: 15.84 kB / 479.7 MB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/0.5934, allocations: 287.9 kB / 480 MB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003701/0.5938, allocations: 386.5 kB / 480.4 MB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.6132, allocations: 9.633 MB / 490 MB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05286/0.6661, allocations: 31.5 MB / 0.5093 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/0.6848, allocations: 22.92 MB / 0.5317 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/0.688, allocations: 1.937 MB / 0.5336 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009797/0.6978, allocations: 6.226 MB / 0.5396 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.6979, allocations: 55.94 kB / 0.5397 GB, free: 9.641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 3.897e-06/0.6979, allocations: 0 / 0.5397 GB, free: 9.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.006194/0.7041, allocations: 3.169 MB / 0.5428 GB, free: 6.418 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.7042, allocations: 90.55 kB / 0.5429 GB, free: 6.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.7078, allocations: 2.615 MB / 0.5454 GB, free: 3.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.708, allocations: 53.7 kB / 0.5455 GB, free: 3.602 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.71, allocations: 3.121 MB / 0.5485 GB, free: 448 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2182/0.9282, allocations: 0.5362 MB / 0.5491 GB, free: 146.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.9299, allocations: 0.803 MB / 0.5498 GB, free: 146.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.93, allocations: 304.9 kB / 0.5501 GB, free: 146.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/0.9326, allocations: 1.466 MB / 0.5516 GB, free: 146.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/0.9357, allocations: 3.261 MB / 0.5548 GB, free: 143.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00553/0.9412, allocations: 4.822 MB / 0.5595 GB, free: 139.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.749e-05/0.9413, allocations: 18.25 kB / 0.5595 GB, free: 139.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009205/0.9505, allocations: 5.086 MB / 0.5644 GB, free: 137.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.9506, allocations: 31.25 kB / 0.5645 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.9507, allocations: 61.41 kB / 0.5645 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008558/0.9516, allocations: 344.9 kB / 0.5649 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.9548, allocations: 0.8833 MB / 0.5657 GB, free: 137.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004982/0.9598, allocations: 5.06 MB / 0.5707 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/0.9634, allocations: 0.5415 MB / 0.5712 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/0.9641, allocations: 212.8 kB / 0.5714 GB, free: 133.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.004299/0.9684, allocations: 2.327 MB / 0.5737 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.969, allocations: 222.1 kB / 0.5739 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/0.9728, allocations: 2.322 MB / 0.5761 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.9728, allocations: 14.31 kB / 0.5762 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.9728, allocations: 5.406 kB / 0.5762 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.9728, allocations: 11.55 kB / 0.5762 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008398/0.9812, allocations: 5.343 MB / 0.5814 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.9813, allocations: 1.781 kB / 0.5814 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.9826, allocations: 254.8 kB / 0.5816 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/0.9832, allocations: 265.1 kB / 0.5819 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.9834, allocations: 44.61 kB / 0.5819 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.9873, allocations: 4.929 MB / 0.5868 GB, free: 125.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9873, allocations: 0 / 0.5868 GB, free: 125.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.9915, allocations: 3.303 MB / 0.59 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008616/0.9924, allocations: 468.7 kB / 0.5904 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.9927, allocations: 27.56 kB / 0.5904 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.9938, allocations: 96.94 kB / 0.5905 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.994, allocations: 107.2 kB / 0.5906 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.9941, allocations: 39.22 kB / 0.5907 GB, free: 123.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002081/0.9962, allocations: 1.716 MB / 0.5924 GB, free: 122.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9962, allocations: 3.75 kB / 0.5924 GB, free: 122.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004312/1.001, allocations: 1.529 MB / 0.5939 GB, free: 122.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003992/1.001, allocations: 172.2 kB / 0.594 GB, free: 122 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004926/1.006, allocations: 3.512 MB / 0.5974 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.006, allocations: 0 / 0.5974 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.007, allocations: 1.266 MB / 0.5987 GB, free: 118.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.01, allocations: 0.5011 MB / 0.5992 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.025, allocations: 9.715 MB / 0.6087 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/1.028, allocations: 4.066 MB / 0.6126 GB, free: 105.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000918/1.029, allocations: 231.4 kB / 0.6129 GB, free: 105.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/1.029, allocations: 0 / 0.6129 GB, free: 105.4 MB / 478.1 MB Notification: Performance of Templates: time 0.35/1.379, allocations: 131 MB / 0.7407 GB, free: 150.1 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches