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.00136/0.00136, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.00125/0.00125, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.393/1.393, allocations: 205.1 MB / 225.1 MB, free: 12.32 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.00139/0.00139, allocations: 51.94 kB / 281.3 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08941, allocations: 46.63 MB / 328 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01495/0.1044, allocations: 14.61 MB / 342.6 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009573/0.114, allocations: 3.918 MB / 346.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.1174, allocations: 91.75 kB / 346.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.013/0.1304, allocations: 5.605 MB / 352.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00649/0.1369, allocations: 1.749 MB / 353.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.1408, allocations: 1.079 MB / 355 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008977/0.1498, allocations: 6.694 MB / 361.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02168/0.1715, allocations: 13.81 MB / 375.5 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006266/0.1778, allocations: 3.479 MB / 379 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2137/0.3916, allocations: 4.124 MB / 383.1 MB, free: 24.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004341/0.396, allocations: 0.9169 MB / 384 MB, free: 24.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005543/0.4015, allocations: 1.1 MB / 385.1 MB, free: 24.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003869/0.4054, allocations: 1.93 MB / 387.1 MB, free: 24.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01052/0.416, allocations: 3.797 MB / 390.9 MB, free: 23.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.4311, allocations: 12.31 MB / 403.2 MB, free: 17.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.4312, allocations: 0 / 403.2 MB, free: 17.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4312, allocations: 3.188 kB / 403.2 MB, free: 17.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004376/0.4316, allocations: 0 / 403.2 MB, free: 17.72 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02622/0.4579, allocations: 8.3 MB / 411.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4579, allocations: 10.94 kB / 411.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03175/0.4897, allocations: 5.073 MB / 416.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007987/0.4977, allocations: 3.542 MB / 420.1 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.4981, allocations: 0.507 MB / 420.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/0.5011, allocations: 0.6707 MB / 421.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/0.527, allocations: 10.48 MB / 431.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/0.5273, allocations: 8.938 kB / 431.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/0.5289, allocations: 278.8 kB / 432 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004097/0.5293, allocations: 386.6 kB / 432.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02106/0.5504, allocations: 9.629 MB / 442 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05702/0.6074, allocations: 31.86 MB / 473.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/0.6278, allocations: 22.9 MB / 496.8 MB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/0.6315, allocations: 1.941 MB / 498.7 MB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.6431, allocations: 6.25 MB / 0.4932 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.6432, allocations: 55.28 kB / 0.4932 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 4.719e-06/0.6432, allocations: 0 / 0.4932 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006892/0.6501, allocations: 3.179 MB / 0.4963 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.6502, allocations: 94.53 kB / 0.4964 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/0.6558, allocations: 2.619 MB / 0.499 GB, free: 9.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.656, allocations: 52.52 kB / 0.499 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002351/0.6583, allocations: 3.111 MB / 0.502 GB, free: 6.055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.659, allocations: 0.5492 MB / 0.5026 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.6607, allocations: 0.8014 MB / 0.5034 GB, free: 4.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.6608, allocations: 305.1 kB / 0.5037 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.6631, allocations: 1.464 MB / 0.5051 GB, free: 2.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003577/0.6667, allocations: 3.26 MB / 0.5083 GB, free: 14.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005749/0.6725, allocations: 4.82 MB / 0.513 GB, free: 9.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.164e-05/0.6726, allocations: 20 kB / 0.513 GB, free: 9.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00903/0.6816, allocations: 5.087 MB / 0.518 GB, free: 4.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.6817, allocations: 32 kB / 0.518 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.6818, allocations: 64 kB / 0.5181 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.6828, allocations: 344.7 kB / 0.5184 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.6858, allocations: 0.8753 MB / 0.5192 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.6915, allocations: 5.079 MB / 0.5242 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/0.6952, allocations: 0.5339 MB / 0.5247 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006172/0.6958, allocations: 212 kB / 0.5249 GB, free: 13.39 MB / 446.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.004815/0.7007, allocations: 2.328 MB / 0.5272 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/0.7012, allocations: 225.1 kB / 0.5274 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.7057, allocations: 2.327 MB / 0.5297 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.7058, allocations: 16 kB / 0.5297 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.7058, allocations: 8.188 kB / 0.5297 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.7058, allocations: 15.97 kB / 0.5297 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.7179, allocations: 5.331 MB / 0.5349 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.718, allocations: 4 kB / 0.5349 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.7193, allocations: 254.3 kB / 0.5352 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007255/0.7201, allocations: 265.3 kB / 0.5354 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.7203, allocations: 32 kB / 0.5355 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1822/0.9025, allocations: 4.93 MB / 0.5403 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9025, allocations: 4.75 kB / 0.5403 GB, free: 153.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/0.9085, allocations: 3.306 MB / 0.5435 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.9098, allocations: 469.1 kB / 0.544 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007171/0.9105, allocations: 34.06 kB / 0.544 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.9121, allocations: 98.95 kB / 0.5441 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.9124, allocations: 104.3 kB / 0.5442 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/0.9125, allocations: 46.2 kB / 0.5442 GB, free: 153 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002801/0.9153, allocations: 1.715 MB / 0.5459 GB, free: 152.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9153, allocations: 0 / 0.5459 GB, free: 152.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004967/0.9203, allocations: 1.531 MB / 0.5474 GB, free: 152.2 MB / 446.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.0003986/0.9207, allocations: 158.9 kB / 0.5475 GB, free: 152.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006804/0.9275, allocations: 3.817 MB / 0.5513 GB, free: 150.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9276, allocations: 0 / 0.5513 GB, free: 150.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.9293, allocations: 1.26 MB / 0.5525 GB, free: 150.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.9322, allocations: 491.8 kB / 0.553 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.95, allocations: 9.861 MB / 0.5626 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003561/0.9536, allocations: 4.072 MB / 0.5666 GB, free: 144 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008907/0.9545, allocations: 230 kB / 0.5668 GB, free: 144 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.9546, allocations: 0 / 0.5668 GB, free: 144 MB / 446.1 MB Notification: Performance of Templates: time 0.1184/1.073, allocations: 130.5 MB / 0.6943 GB, free: 18.41 MB / 446.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