Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009528/0.0009528, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 229.5 MB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007512/0.0007512, allocations: 102.8 kB / 299.9 MB, free: 5.391 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002045/0.0002046, allocations: 8 kB / 360.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.189, allocations: 51.41 MB / 412.1 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008421/0.1975, allocations: 12.1 MB / 424.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.2031, allocations: 5.311 MB / 429.5 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.2043, allocations: 91.75 kB / 429.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.2058, allocations: 0.7893 MB / 430.3 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.2098, allocations: 1.348 MB / 431.7 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.2121, allocations: 1.782 MB / 433.5 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005359/0.2175, allocations: 6.179 MB / 439.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02154/0.239, allocations: 18.55 MB / 458.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.2423, allocations: 2.413 MB / 460.6 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/0.2461, allocations: 2.937 MB / 463.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000738/0.2468, allocations: 376 kB / 463.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.2483, allocations: 0.5662 MB / 464.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009103/0.2492, allocations: 1.117 MB / 465.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002749/0.252, allocations: 2.855 MB / 468.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00963/0.2616, allocations: 11.24 MB / 479.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2617, allocations: 0 / 479.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2617, allocations: 0 / 479.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002843/0.262, allocations: 0 / 479.7 MB, free: 4.328 MB / 346.7 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.01577/0.2778, allocations: 6.516 MB / 486.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2778, allocations: 12.03 kB / 486.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01874/0.2966, allocations: 2.92 MB / 489.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007272/0.3039, allocations: 3.635 MB / 492.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.3043, allocations: 481 kB / 493.3 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.3055, allocations: 0.6132 MB / 493.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.3212, allocations: 9.275 MB / 0.4914 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.3213, allocations: 7.906 kB / 0.4914 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000566/0.3219, allocations: 264 kB / 0.4916 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/0.3222, allocations: 321.4 kB / 0.4919 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.3355, allocations: 7.907 MB / 0.4996 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1989/0.5345, allocations: 29.12 MB / 0.5281 GB, free: 66.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007296/0.5418, allocations: 11.68 MB / 0.5395 GB, free: 54.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.5436, allocations: 1.609 MB / 0.5411 GB, free: 54.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.5438, allocations: 217.6 kB / 0.5413 GB, free: 53.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5439, allocations: 64.83 kB / 0.5413 GB, free: 53.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 3.997e-06/0.5439, allocations: 0 / 0.5413 GB, free: 53.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=238): time 0.006289/0.5502, allocations: 4.155 MB / 0.5454 GB, free: 50.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5502, allocations: 111.1 kB / 0.5455 GB, free: 50.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.5521, allocations: 1.883 MB / 0.5473 GB, free: 48.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.461e-05/0.5522, allocations: 69.7 kB / 0.5474 GB, free: 48.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.5531, allocations: 2.537 MB / 0.5499 GB, free: 45.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.5535, allocations: 0.8174 MB / 0.5507 GB, free: 44.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.5536, allocations: 64 kB / 0.5507 GB, free: 44.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5537, allocations: 453.3 kB / 0.5512 GB, free: 44.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.5553, allocations: 1.393 MB / 0.5525 GB, free: 43.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.5572, allocations: 2.586 MB / 0.5551 GB, free: 39.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.5608, allocations: 4.207 MB / 0.5592 GB, free: 35.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.5608, allocations: 8 kB / 0.5592 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005141/0.566, allocations: 4.498 MB / 0.5636 GB, free: 30.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.566, allocations: 21.25 kB / 0.5636 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.566, allocations: 40 kB / 0.5636 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.5667, allocations: 311.1 kB / 0.5639 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.5691, allocations: 0.78 MB / 0.5647 GB, free: 29.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/0.5729, allocations: 4.611 MB / 0.5692 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5746, allocations: 408 kB / 0.5696 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.5748, allocations: 160 kB / 0.5697 GB, free: 24.08 MB / 378.7 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.002419/0.5772, allocations: 2.191 MB / 0.5719 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.5774, allocations: 209.4 kB / 0.5721 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/0.5814, allocations: 3.174 MB / 0.5752 GB, free: 18.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5814, allocations: 28 kB / 0.5752 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5814, allocations: 4 kB / 0.5752 GB, free: 18.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.5814, allocations: 11.95 kB / 0.5752 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.5941, allocations: 12.65 MB / 0.5876 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.5941, allocations: 15.98 kB / 0.5876 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.5957, allocations: 436.2 kB / 0.588 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/0.5962, allocations: 272 kB / 0.5883 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.5964, allocations: 67.98 kB / 0.5883 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.6001, allocations: 4.565 MB / 0.5928 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/0.6001, allocations: 23.88 kB / 0.5928 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006333/0.6064, allocations: 4.983 MB / 0.5977 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.6075, allocations: 0.5367 MB / 0.5982 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.6077, allocations: 63.98 kB / 0.5982 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.6089, allocations: 127.8 kB / 0.5984 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.6092, allocations: 209.3 kB / 0.5986 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.6094, allocations: 80 kB / 0.5986 GB, free: 9.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001661/0.611, allocations: 1.279 MB / 0.5999 GB, free: 8.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6111, allocations: 0 / 0.5999 GB, free: 8.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003273/0.6143, allocations: 1.436 MB / 0.6013 GB, free: 6.586 MB / 394.7 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.0003616/0.6147, allocations: 233.2 kB / 0.6015 GB, free: 6.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005115/0.6198, allocations: 3.601 MB / 0.605 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.6199, allocations: 0 / 0.605 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.6221, allocations: 1.685 MB / 0.6067 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/0.627, allocations: 0.502 MB / 0.6072 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.6434, allocations: 12.63 MB / 0.6195 GB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003829/0.6473, allocations: 4.02 MB / 0.6234 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003322/0.6506, allocations: 1.195 MB / 0.6246 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.6512, allocations: 183.4 kB / 0.6248 GB, free: 14.25 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6512, allocations: 0 / 0.6248 GB, free: 14.25 MB / 426.7 MB Notification: Performance of Templates: time 0.05033/0.7015, allocations: 29.56 MB / 0.6536 GB, free: 0.8789 MB / 442.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches