Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.55 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09277, allocations: 50.54 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006848/0.09965, allocations: 5.892 MB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.1032, allocations: 2.142 MB / 366.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.1037, allocations: 43.81 kB / 367 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.1046, allocations: 389.4 kB / 367.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.1058, allocations: 0.5476 MB / 367.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.1062, allocations: 239.7 kB / 368.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.1081, allocations: 2.221 MB / 370.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1505/0.2586, allocations: 2.211 MB / 372.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.2606, allocations: 1.057 MB / 373.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.262, allocations: 1.214 MB / 374.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.2625, allocations: 287.4 kB / 375.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006084/0.2631, allocations: 373 kB / 375.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.2636, allocations: 0.7106 MB / 376.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.2649, allocations: 1.233 MB / 377.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.2685, allocations: 3.785 MB / 381.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2686, allocations: 3.938 kB / 381.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2686, allocations: 0.75 kB / 381.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.152e-05/0.2686, allocations: 0 / 381.2 MB, free: 9.445 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.004281/0.2729, allocations: 2.391 MB / 383.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.273, allocations: 9.219 kB / 383.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.2739, allocations: 280 kB / 383.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.2762, allocations: 1.365 MB / 385.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.2763, allocations: 130.1 kB / 385.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.2765, allocations: 178 kB / 385.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.2802, allocations: 2.552 MB / 388.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.2803, allocations: 0 / 388.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.2804, allocations: 76.06 kB / 388.2 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.2806, allocations: 94.8 kB / 388.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.2838, allocations: 2.108 MB / 390.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009255/0.2931, allocations: 7.356 MB / 397.8 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2944, allocations: 1.274 MB / 399 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006027/0.295, allocations: 467.5 kB / 399.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.2952, allocations: 123.7 kB / 399.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2953, allocations: 38.53 kB / 399.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 1.823e-06/0.2953, allocations: 0 / 399.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003612/0.2989, allocations: 2.26 MB / 401.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.299, allocations: 91.12 kB / 402 MB, free: 12.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.3007, allocations: 1.516 MB / 403.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.3008, allocations: 35.61 kB / 403.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/0.3014, allocations: 0.9816 MB / 404.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3016, allocations: 194.4 kB / 404.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.3019, allocations: 240.2 kB / 404.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.302, allocations: 360.5 kB / 405.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.3027, allocations: 466.4 kB / 405.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.3037, allocations: 1.086 MB / 406.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.3055, allocations: 1.622 MB / 408.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3055, allocations: 4 kB / 408.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002426/0.3079, allocations: 1.684 MB / 410.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.308, allocations: 12 kB / 410.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.308, allocations: 24 kB / 410.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/0.3087, allocations: 179.8 kB / 410.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/0.3095, allocations: 280.9 kB / 410.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.3117, allocations: 2.361 MB / 413 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.3127, allocations: 87.58 kB / 413.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.3128, allocations: 64 kB / 413.1 MB, free: 1.91 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.0008938/0.3137, allocations: 0.72 MB / 413.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.3139, allocations: 130.5 kB / 414 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.3152, allocations: 0.8386 MB / 414.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3152, allocations: 4 kB / 414.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3152, allocations: 8 kB / 414.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3152, allocations: 3.984 kB / 414.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/0.3188, allocations: 2.488 MB / 417.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3189, allocations: 4.031 kB / 417.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.3192, allocations: 102.3 kB / 417.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006059/0.3198, allocations: 148.7 kB / 417.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.3199, allocations: 19.98 kB / 417.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.322, allocations: 2.303 MB / 419.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.322, allocations: 0 / 419.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3237, allocations: 1.324 MB / 421.2 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.3243, allocations: 283.4 kB / 421.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.3244, allocations: 19.98 kB / 421.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/0.325, allocations: 51.97 kB / 421.6 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3251, allocations: 47.5 kB / 421.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.3251, allocations: 16 kB / 421.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.3265, allocations: 1.048 MB / 422.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3265, allocations: 0 / 422.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001242/0.3277, allocations: 352 kB / 423 MB, free: 7.797 MB / 334.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.0003644/0.3281, allocations: 185 kB / 423.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.3298, allocations: 1.161 MB / 424.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3298, allocations: 128 / 424.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.3305, allocations: 0.516 MB / 424.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.3319, allocations: 374.9 kB / 425.3 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.3366, allocations: 3.19 MB / 428.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3379, allocations: 1.714 MB / 430.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008021/0.3387, allocations: 319.4 kB / 430.5 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.3389, allocations: 87.44 kB / 430.6 MB, free: 264 kB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3389, allocations: 0 / 430.6 MB, free: 264 kB / 334.1 MB Notification: Performance of Templates: time 0.02952/0.3685, allocations: 18.56 MB / 449.1 MB, free: 13.95 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches