Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001765/0.001765, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.002205/0.002205, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.5/2.5, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 47.22 kB / 300.6 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1589, allocations: 49.46 MB / 350.1 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01405/0.1731, allocations: 5.894 MB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006742/0.1799, allocations: 2.056 MB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1815, allocations: 39.81 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.1835, allocations: 334.4 kB / 358.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.187, allocations: 0.5052 MB / 358.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1881, allocations: 187.9 kB / 359.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.1931, allocations: 2.487 MB / 361.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004738/0.1979, allocations: 1.868 MB / 363.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/0.2022, allocations: 0.892 MB / 364.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003873/0.2061, allocations: 1.156 MB / 365.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.2075, allocations: 180 kB / 365.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.2097, allocations: 275.8 kB / 365.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.2113, allocations: 0.5997 MB / 366.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004026/0.2154, allocations: 1.096 MB / 367.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005786/0.2212, allocations: 3.164 MB / 370.8 MB, free: 24 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2212, allocations: 0 / 370.8 MB, free: 24 kB / 302.1 MB Notification: Performance of FrontEnd: time 6.272e-06/0.2213, allocations: 4 kB / 370.8 MB, free: 20 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001572/0.2214, allocations: 0 / 370.8 MB, free: 20 kB / 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.3856/0.6071, allocations: 2.372 MB / 373.2 MB, free: 24.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.481e-05/0.6072, allocations: 9.344 kB / 373.2 MB, free: 24.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.6089, allocations: 250.6 kB / 373.4 MB, free: 24.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.6137, allocations: 1.308 MB / 374.7 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.614, allocations: 136.6 kB / 374.9 MB, free: 23.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/0.6144, allocations: 175.1 kB / 375 MB, free: 23.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009098/0.6236, allocations: 2.548 MB / 377.6 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/0.6237, allocations: 0 / 377.6 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.624, allocations: 76.59 kB / 377.6 MB, free: 22.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002207/0.6242, allocations: 96.61 kB / 377.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008132/0.6324, allocations: 2.11 MB / 379.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.658, allocations: 7.441 MB / 387.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.6611, allocations: 1.263 MB / 388.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.6626, allocations: 475.6 kB / 389 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.663, allocations: 110.7 kB / 389.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/0.6631, allocations: 42.5 kB / 389.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 5.51e-06/0.6631, allocations: 1.438 kB / 389.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.007915/0.6711, allocations: 2.266 MB / 391.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.6712, allocations: 81.48 kB / 391.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.675, allocations: 1.51 MB / 393 MB, free: 12.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/0.6751, allocations: 32.45 kB / 393.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009854/0.6761, allocations: 0.965 MB / 394 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.6764, allocations: 200.3 kB / 394.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005778/0.677, allocations: 243 kB / 394.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6772, allocations: 355.7 kB / 394.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.6785, allocations: 452.7 kB / 395.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.6804, allocations: 1.094 MB / 396.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.6833, allocations: 1.625 MB / 398 MB, free: 8.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.6833, allocations: 4 kB / 398 MB, free: 8.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004588/0.6879, allocations: 1.686 MB / 399.7 MB, free: 6.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.688, allocations: 12.62 kB / 399.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.688, allocations: 31.98 kB / 399.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.6893, allocations: 184.5 kB / 399.9 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.6909, allocations: 275.6 kB / 400.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.6941, allocations: 2.162 MB / 402.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.6966, allocations: 84.66 kB / 402.4 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.6968, allocations: 75.94 kB / 402.5 MB, free: 3.871 MB / 302.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.002014/0.6988, allocations: 0.7079 MB / 403.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/0.6994, allocations: 130.5 kB / 403.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.7017, allocations: 0.845 MB / 404.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.7017, allocations: 4 kB / 404.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7017, allocations: 3.938 kB / 404.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.7017, allocations: 7.984 kB / 404.2 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006861/0.7086, allocations: 2.487 MB / 406.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.7087, allocations: 4 kB / 406.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.7095, allocations: 92.22 kB / 406.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.7108, allocations: 156.7 kB / 406.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/0.7109, allocations: 12 kB / 406.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/0.7156, allocations: 2.1 MB / 409 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.7156, allocations: 4.031 kB / 409 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/0.72, allocations: 1.316 MB / 410.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.7215, allocations: 287.4 kB / 410.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008347/0.7224, allocations: 16.06 kB / 410.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.7242, allocations: 47.95 kB / 410.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.7244, allocations: 51.81 kB / 410.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/0.7245, allocations: 20 kB / 410.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003704/0.7282, allocations: 1.036 MB / 411.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7283, allocations: 0 / 411.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003679/0.732, allocations: 352 kB / 412.1 MB, free: 9.891 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.0008746/0.7329, allocations: 196 kB / 412.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00418/0.7371, allocations: 1.135 MB / 413.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/0.7371, allocations: 4.859 kB / 413.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.7388, allocations: 0.5302 MB / 414 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/0.7433, allocations: 353.5 kB / 414.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.7558, allocations: 3.924 MB / 418.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/0.7592, allocations: 1.654 MB / 419.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008301/0.7601, allocations: 99.42 kB / 420 MB, free: 1.906 MB / 318.1 MB Notification: Performance of SimCode: time 2.234e-06/0.7601, allocations: 0 / 420 MB, free: 1.906 MB / 318.1 MB Notification: Performance of Templates: time 0.09273/0.8529, allocations: 32.12 MB / 452.1 MB, free: 1.895 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches