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.001339/0.001339, allocations: 99.95 kB / 17.58 MB, free: 5.418 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.001346/0.001346, allocations: 192 kB / 18.51 MB, free: 4.508 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.527/1.527, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001504/0.001504, allocations: 51.94 kB / 280.7 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1205, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00898/0.1296, allocations: 5.844 MB / 333.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.1363, allocations: 2.135 MB / 335.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.1388, allocations: 39.75 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.141, allocations: 381.7 kB / 335.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.1438, allocations: 0.5515 MB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.1446, allocations: 235.8 kB / 336.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003949/0.1486, allocations: 2.268 MB / 338.7 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.1513, allocations: 1.895 MB / 340.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.1547, allocations: 1.035 MB / 341.7 MB, free: 6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.1573, allocations: 1.214 MB / 342.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000611/0.1579, allocations: 291.9 kB / 343.2 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1591, allocations: 371.9 kB / 343.5 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000752/0.1599, allocations: 0.7012 MB / 344.2 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.1619, allocations: 1.225 MB / 345.4 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004662/0.1665, allocations: 3.747 MB / 349.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.1666, allocations: 0 / 349.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1666, allocations: 0 / 349.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000121/0.1667, allocations: 0 / 349.2 MB, free: 14.44 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.006763/0.1735, allocations: 2.377 MB / 351.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.1736, allocations: 15.89 kB / 351.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008896/0.1745, allocations: 246.4 kB / 351.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.1766, allocations: 1.224 MB / 353 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.1767, allocations: 139.5 kB / 353.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.177, allocations: 175.9 kB / 353.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.181, allocations: 2.543 MB / 355.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.1811, allocations: 3.984 kB / 355.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.1813, allocations: 75.98 kB / 356 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.1814, allocations: 95.58 kB / 356.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.185, allocations: 2.11 MB / 358.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.1961, allocations: 7.452 MB / 365.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.1975, allocations: 1.267 MB / 366.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/0.1983, allocations: 474.9 kB / 367.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.1985, allocations: 117.5 kB / 367.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.1986, allocations: 42.94 kB / 367.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 3.717e-06/0.1986, allocations: 0 / 367.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004396/0.203, allocations: 2.265 MB / 369.8 MB, free: 9.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.2031, allocations: 81.66 kB / 369.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.2053, allocations: 1.516 MB / 371.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.2054, allocations: 37.7 kB / 371.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/0.2061, allocations: 0.9634 MB / 372.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.2063, allocations: 197.4 kB / 372.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.2067, allocations: 242.5 kB / 372.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2069, allocations: 365.9 kB / 373.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007129/0.2076, allocations: 458.2 kB / 373.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.2088, allocations: 1.087 MB / 374.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.2109, allocations: 1.623 MB / 376.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.2109, allocations: 8 kB / 376.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003324/0.2143, allocations: 1.679 MB / 378 MB, free: 296 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.2143, allocations: 16 kB / 378 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.2144, allocations: 20 kB / 378 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008131/0.2152, allocations: 181.1 kB / 378.2 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1905/0.4057, allocations: 284.3 kB / 378.5 MB, free: 50.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.4081, allocations: 2.36 MB / 380.9 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.4093, allocations: 91.11 kB / 381 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4095, allocations: 70.12 kB / 381 MB, free: 49.29 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.001408/0.4109, allocations: 0.7004 MB / 381.7 MB, free: 49.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.4113, allocations: 132.7 kB / 381.8 MB, free: 49.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.4127, allocations: 0.8384 MB / 382.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4127, allocations: 9.156 kB / 382.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4127, allocations: 3.75 kB / 382.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.4128, allocations: 3.094 kB / 382.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.4165, allocations: 2.494 MB / 385.2 MB, free: 47.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4166, allocations: 3.484 kB / 385.2 MB, free: 47.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.417, allocations: 100.9 kB / 385.3 MB, free: 47.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006348/0.4176, allocations: 155.8 kB / 385.5 MB, free: 47.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.4176, allocations: 15.55 kB / 385.5 MB, free: 47.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.4195, allocations: 2.311 MB / 387.8 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4195, allocations: 3.734 kB / 387.8 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.4218, allocations: 1.317 MB / 389.1 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.4223, allocations: 280.5 kB / 389.4 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.4225, allocations: 16.67 kB / 389.4 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.423, allocations: 51.17 kB / 389.4 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4232, allocations: 50.3 kB / 389.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.4232, allocations: 19.67 kB / 389.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001462/0.4247, allocations: 1.037 MB / 390.5 MB, free: 44.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4247, allocations: 3.438 kB / 390.5 MB, free: 44.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001482/0.4262, allocations: 349.7 kB / 390.9 MB, free: 44.52 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.0004326/0.4266, allocations: 184.5 kB / 391.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.4287, allocations: 1.252 MB / 392.3 MB, free: 43.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4287, allocations: 1.094 kB / 392.3 MB, free: 43.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.4294, allocations: 0.5098 MB / 392.8 MB, free: 43.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.4307, allocations: 371.7 kB / 393.2 MB, free: 43.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.4355, allocations: 3.227 MB / 396.4 MB, free: 41.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.4367, allocations: 1.704 MB / 398.1 MB, free: 41.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009101/0.4376, allocations: 323.4 kB / 398.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.4378, allocations: 92.34 kB / 398.5 MB, free: 40.98 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4378, allocations: 0 / 398.5 MB, free: 40.98 MB / 318.1 MB Notification: Performance of Templates: time 0.03164/0.4694, allocations: 18.56 MB / 417.1 MB, free: 24.05 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches