Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001848/0.001848, allocations: 198 kB / 18.07 MB, free: 5.41 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.675/1.675, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001857/0.001857, allocations: 47.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00768/0.1642, allocations: 5.839 MB / 332.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.1683, allocations: 2.108 MB / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.1689, allocations: 31.81 kB / 334.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1699, allocations: 326.5 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.1712, allocations: 0.5247 MB / 335.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1716, allocations: 195.9 kB / 335.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.1737, allocations: 2.545 MB / 338.2 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.1755, allocations: 1.551 MB / 339.7 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.1775, allocations: 0.8956 MB / 340.6 MB, free: 6.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.1787, allocations: 1.152 MB / 341.8 MB, free: 5.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.179, allocations: 176 kB / 341.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000538/0.1795, allocations: 271.8 kB / 342.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.18, allocations: 0.5918 MB / 342.8 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009933/0.181, allocations: 1.104 MB / 343.9 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.1838, allocations: 3.657 MB / 347.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1838, allocations: 0 / 347.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1838, allocations: 0 / 347.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.022e-05/0.1839, allocations: 0 / 347.6 MB, free: 15.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004076/0.1879, allocations: 2.381 MB / 349.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.188, allocations: 8.031 kB / 349.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.1886, allocations: 246.4 kB / 350.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.1903, allocations: 1.22 MB / 351.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.883e-05/0.1904, allocations: 139.5 kB / 351.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.1907, allocations: 168 kB / 351.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.1947, allocations: 2.555 MB / 354.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.1947, allocations: 0 / 354.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.1949, allocations: 68 kB / 354.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.195, allocations: 99.58 kB / 354.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.1981, allocations: 2.103 MB / 356.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00959/0.2077, allocations: 7.464 MB / 364 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.2093, allocations: 1.259 MB / 365.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.21, allocations: 478.9 kB / 365.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.2103, allocations: 113.5 kB / 365.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.2104, allocations: 43 kB / 365.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.204e-06/0.2104, allocations: 0 / 365.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004134/0.2145, allocations: 2.265 MB / 368.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.2146, allocations: 81.55 kB / 368.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.2166, allocations: 1.512 MB / 369.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.2167, allocations: 33.7 kB / 369.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000632/0.2173, allocations: 0.9673 MB / 370.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.2175, allocations: 193.4 kB / 370.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.2178, allocations: 246.5 kB / 371.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2179, allocations: 365.9 kB / 371.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.2186, allocations: 454.3 kB / 372 MB, free: 6.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2197, allocations: 1.094 MB / 373.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.2214, allocations: 1.615 MB / 374.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.2215, allocations: 7.938 kB / 374.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002502/0.224, allocations: 1.687 MB / 376.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.224, allocations: 12.11 kB / 376.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.2241, allocations: 28.41 kB / 376.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007586/0.2248, allocations: 180.6 kB / 376.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.2257, allocations: 275.6 kB / 376.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2434/0.4691, allocations: 2.156 MB / 379 MB, free: 49.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4707, allocations: 85.89 kB / 379.1 MB, free: 49.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4708, allocations: 69.33 kB / 379.2 MB, free: 49.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.4721, allocations: 0.7032 MB / 379.9 MB, free: 49.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.4724, allocations: 138.3 kB / 380 MB, free: 49.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4741, allocations: 0.8374 MB / 380.8 MB, free: 49.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.4742, allocations: 8.391 kB / 380.8 MB, free: 49.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4742, allocations: 3.875 kB / 380.8 MB, free: 49.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4742, allocations: 0.5625 kB / 380.8 MB, free: 49.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.4785, allocations: 2.51 MB / 383.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4786, allocations: 4.375 kB / 383.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.479, allocations: 99.06 kB / 383.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.4797, allocations: 151.3 kB / 383.6 MB, free: 48.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.4798, allocations: 16.64 kB / 383.6 MB, free: 48.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.4821, allocations: 2.097 MB / 385.7 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4821, allocations: 3.25 kB / 385.7 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.4846, allocations: 1.313 MB / 387 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/0.4852, allocations: 281.7 kB / 387.3 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.4854, allocations: 16.11 kB / 387.3 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.486, allocations: 52.47 kB / 387.4 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.4861, allocations: 49.55 kB / 387.4 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.4862, allocations: 19.59 kB / 387.4 MB, free: 45.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001866/0.488, allocations: 1.039 MB / 388.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4881, allocations: 0 / 388.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001781/0.4898, allocations: 350.5 kB / 388.8 MB, free: 45.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005832/0.4904, allocations: 183.2 kB / 389 MB, free: 45.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.4928, allocations: 1.152 MB / 390.2 MB, free: 44.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4928, allocations: 1.219 kB / 390.2 MB, free: 44.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008759/0.4937, allocations: 0.5088 MB / 390.7 MB, free: 44.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.4953, allocations: 359.3 kB / 391 MB, free: 44.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.5011, allocations: 3.945 MB / 395 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.5027, allocations: 1.698 MB / 396.7 MB, free: 41.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00116/0.5038, allocations: 327.1 kB / 397 MB, free: 40.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.5041, allocations: 96.58 kB / 397.1 MB, free: 40.96 MB / 318.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5041, allocations: 0 / 397.1 MB, free: 40.96 MB / 318.1 MB Notification: Performance of Templates: time 0.0273/0.5314, allocations: 17.76 MB / 414.8 MB, free: 25.66 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches