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.00115/0.00115, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001154/0.001154, allocations: 193.2 kB / 19.33 MB, free: 3.773 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.37/1.37, 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.001275/0.001276, allocations: 47.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09157, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.1734/0.265, allocations: 5.843 MB / 381.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.2681, allocations: 2.142 MB / 383.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.2686, allocations: 35.19 kB / 383.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009587/0.2696, allocations: 388.8 kB / 384.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.2708, allocations: 0.5565 MB / 384.8 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.2712, allocations: 233.4 kB / 385 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.2732, allocations: 2.282 MB / 387.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.275, allocations: 1.887 MB / 389.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.277, allocations: 1.046 MB / 390.2 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.2785, allocations: 1.215 MB / 391.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003684/0.2788, allocations: 288.4 kB / 391.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.2795, allocations: 372.4 kB / 392.1 MB, free: 6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.2801, allocations: 0.7075 MB / 392.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.2813, allocations: 1.226 MB / 394 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.285, allocations: 3.78 MB / 397.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.285, allocations: 0 / 397.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.285, allocations: 0 / 397.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.369e-05/0.2851, allocations: 0 / 397.8 MB, free: 3.5 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.00452/0.2896, allocations: 2.37 MB / 400.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2897, allocations: 13.48 kB / 400.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000659/0.2903, allocations: 251.4 kB / 400.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.2921, allocations: 1.242 MB / 401.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/0.2922, allocations: 139.2 kB / 401.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/0.2925, allocations: 169.8 kB / 402 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.2963, allocations: 2.542 MB / 404.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.2964, allocations: 0 / 404.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.2966, allocations: 79.58 kB / 404.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2967, allocations: 95.33 kB / 404.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/0.3001, allocations: 2.105 MB / 406.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.3105, allocations: 7.364 MB / 414.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.3119, allocations: 1.271 MB / 415.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006918/0.3126, allocations: 483 kB / 415.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.3128, allocations: 117.5 kB / 416 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3129, allocations: 43 kB / 416 MB, free: 6.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.735e-06/0.3129, allocations: 0 / 416 MB, free: 6.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003988/0.3169, allocations: 2.261 MB / 418.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.317, allocations: 85.55 kB / 418.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.3189, allocations: 1.508 MB / 419.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.319, allocations: 37.7 kB / 419.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/0.3196, allocations: 0.9748 MB / 420.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.3198, allocations: 193.4 kB / 421.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/0.3201, allocations: 242.6 kB / 421.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3203, allocations: 361.9 kB / 421.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.3209, allocations: 454.3 kB / 422.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.322, allocations: 1.098 MB / 423.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.3238, allocations: 1.619 MB / 424.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.3239, allocations: 8 kB / 424.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002622/0.3265, allocations: 1.683 MB / 426.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.3265, allocations: 23.89 kB / 426.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.3266, allocations: 24.06 kB / 426.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.3273, allocations: 172.7 kB / 426.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/0.3281, allocations: 283.5 kB / 427 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.3304, allocations: 2.357 MB / 429.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.3315, allocations: 87.67 kB / 429.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.851e-05/0.3316, allocations: 68 kB / 429.5 MB, free: 8.449 MB / 350.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.001078/0.3326, allocations: 0.7079 MB / 430.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.3329, allocations: 130.4 kB / 430.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.3344, allocations: 0.8412 MB / 431.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3344, allocations: 4 kB / 431.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3344, allocations: 4.188 kB / 431.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3344, allocations: 3.984 kB / 431.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/0.3383, allocations: 2.494 MB / 433.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3383, allocations: 4 kB / 433.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.3387, allocations: 99.81 kB / 433.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006112/0.3393, allocations: 156.9 kB / 434 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.3394, allocations: 15.98 kB / 434 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.3415, allocations: 2.298 MB / 436.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3416, allocations: 4 kB / 436.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.3436, allocations: 1.321 MB / 437.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.3442, allocations: 279.5 kB / 437.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.3444, allocations: 23.98 kB / 437.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.3449, allocations: 48.03 kB / 438 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3451, allocations: 51.81 kB / 438 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.3451, allocations: 24 kB / 438 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.3466, allocations: 1.036 MB / 439.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3466, allocations: 0 / 439.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001384/0.348, allocations: 348 kB / 439.4 MB, free: 14.23 MB / 366.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.0004041/0.3484, allocations: 193.7 kB / 439.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.3502, allocations: 1.157 MB / 440.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3502, allocations: 0 / 440.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.351, allocations: 0.5078 MB / 441.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.3525, allocations: 373.7 kB / 441.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.3576, allocations: 3.16 MB / 444.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.3589, allocations: 1.662 MB / 446.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.3592, allocations: 95.42 kB / 446.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3592, allocations: 0 / 446.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of Templates: time 0.04386/0.4031, allocations: 32.54 MB / 479.1 MB, free: 6.371 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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