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.001341/0.001341, allocations: 111.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2246, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006493/0.2312, allocations: 5.917 MB / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.2344, allocations: 2.119 MB / 418 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.2348, allocations: 43.81 kB / 418 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008218/0.2357, allocations: 409.2 kB / 418.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.2368, allocations: 0.5671 MB / 419 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.2372, allocations: 227.7 kB / 419.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.2391, allocations: 2.229 MB / 421.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.2412, allocations: 2.224 MB / 423.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.2429, allocations: 1.055 MB / 424.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2442, allocations: 1.207 MB / 425.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003039/0.2445, allocations: 288 kB / 426.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.245, allocations: 375.8 kB / 426.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005154/0.2456, allocations: 0.7051 MB / 427.3 MB, free: 116 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.2466, allocations: 1.233 MB / 428.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.2497, allocations: 3.787 MB / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2497, allocations: 0 / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2497, allocations: 0 / 432.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.2497, allocations: 0 / 432.3 MB, free: 11.08 MB / 350.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.003968/0.2537, allocations: 2.384 MB / 434.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2537, allocations: 19.97 kB / 434.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.2546, allocations: 282.2 kB / 435 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.2566, allocations: 1.36 MB / 436.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/0.2567, allocations: 139.5 kB / 436.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.2569, allocations: 175.9 kB / 436.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.2607, allocations: 2.551 MB / 439.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.2607, allocations: 0 / 439.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.2609, allocations: 68 kB / 439.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.483e-05/0.261, allocations: 99.58 kB / 439.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.2642, allocations: 2.11 MB / 441.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009363/0.2736, allocations: 7.355 MB / 448.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.275, allocations: 1.259 MB / 450.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.2757, allocations: 474.9 kB / 450.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.2759, allocations: 109.5 kB / 450.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2759, allocations: 50.98 kB / 450.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.285e-06/0.2759, allocations: 0 / 450.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00361/0.2795, allocations: 2.261 MB / 453 MB, free: 5.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2796, allocations: 85.55 kB / 453 MB, free: 5.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.2814, allocations: 1.513 MB / 454.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.2815, allocations: 45.64 kB / 454.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.2821, allocations: 0.9713 MB / 455.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.2822, allocations: 197.4 kB / 455.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.2825, allocations: 238.6 kB / 456 MB, free: 2.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2827, allocations: 361.9 kB / 456.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.2834, allocations: 450.3 kB / 456.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.2844, allocations: 1.094 MB / 457.9 MB, free: 496 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.2863, allocations: 1.619 MB / 459.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.2863, allocations: 15.92 kB / 459.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002524/0.2888, allocations: 1.687 MB / 461.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2889, allocations: 12 kB / 461.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.2889, allocations: 24 kB / 461.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/0.2896, allocations: 180.9 kB / 461.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/0.2905, allocations: 287.5 kB / 461.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.2928, allocations: 2.361 MB / 464.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/0.2937, allocations: 83.67 kB / 464.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.2938, allocations: 64 kB / 464.2 MB, free: 9.695 MB / 382.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.0009072/0.2947, allocations: 0.7155 MB / 464.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.2949, allocations: 138.3 kB / 465.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.2963, allocations: 0.8413 MB / 465.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2963, allocations: 192 / 465.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2963, allocations: 0 / 465.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.2967, allocations: 287.4 kB / 466.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.2969, allocations: 12 kB / 466.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.2974, allocations: 43.97 kB / 466.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2975, allocations: 44.31 kB / 466.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001531/0.2991, allocations: 0.8751 MB / 467.2 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001662/0.3007, allocations: 1.319 MB / 468.5 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004393/0.3012, allocations: 327.2 kB / 468.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.3026, allocations: 1.044 MB / 469.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of Backend: time 2.41e-07/0.3026, allocations: 0 / 469.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.3047, allocations: 1.073 MB / 470.9 MB, free: 2.91 MB / 382.1 MB Notification: Performance of SimCode: time 0.005481/0.3102, allocations: 3.742 MB / 474.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of Templates: time 0.0328/0.343, allocations: 20.16 MB / 494.8 MB, free: 11.15 MB / 414.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 -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