Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 57.53 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09307, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01409/0.1072, allocations: 12.92 MB / 370.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1919/0.2991, allocations: 4.247 MB / 374.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.3021, allocations: 80.47 kB / 374.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.3053, allocations: 0.9767 MB / 375.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.3113, allocations: 1.185 MB / 376.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.3132, allocations: 0.5187 MB / 377.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008031/0.3212, allocations: 4.629 MB / 382 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005993/0.3273, allocations: 3.698 MB / 385.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005124/0.3324, allocations: 2.123 MB / 387.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/0.3377, allocations: 2.561 MB / 390.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.3398, allocations: 0.5525 MB / 391 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.3426, allocations: 0.6549 MB / 391.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.3442, allocations: 1.521 MB / 393.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004365/0.3486, allocations: 2.489 MB / 395.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00728/0.3559, allocations: 7.367 MB / 403 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3559, allocations: 0 / 403 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.356, allocations: 4 kB / 403 MB, free: 11.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001808/0.3561, allocations: 0 / 403 MB, free: 11.98 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01038/0.3665, allocations: 4.705 MB / 407.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3666, allocations: 12.03 kB / 407.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.3683, allocations: 0.5268 MB / 408.2 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.3725, allocations: 2.51 MB / 410.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.3728, allocations: 269.9 kB / 411 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/0.3733, allocations: 358.3 kB / 411.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008781/0.3821, allocations: 5.028 MB / 416.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.97e-05/0.3822, allocations: 11.84 kB / 416.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.3825, allocations: 143.2 kB / 416.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.3827, allocations: 179.1 kB / 416.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00752/0.3903, allocations: 4.306 MB / 421 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.4159, allocations: 14.89 MB / 435.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/0.4208, allocations: 4.194 MB / 440.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.424, allocations: 1.996 MB / 442.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.4243, allocations: 137.6 kB / 442.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.4244, allocations: 52.56 kB / 442.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.098e-06/0.4244, allocations: 0 / 442.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02071/0.4451, allocations: 9.953 MB / 452.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.4452, allocations: 73.41 kB / 452.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.4502, allocations: 2.518 MB / 454.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.4504, allocations: 61.7 kB / 454.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.4518, allocations: 1.627 MB / 456.5 MB, free: 5.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006773/0.4525, allocations: 0.7237 MB / 457.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007866/0.4533, allocations: 424.2 kB / 457.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4535, allocations: 301.1 kB / 458 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.4556, allocations: 1.301 MB / 459.3 MB, free: 2.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.4581, allocations: 1.782 MB / 461 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/0.4629, allocations: 3.215 MB / 464.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.4629, allocations: 4 kB / 464.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007286/0.4702, allocations: 4.071 MB / 468.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4702, allocations: 8.469 kB / 468.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.4703, allocations: 20 kB / 468.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/0.4732, allocations: 0.8866 MB / 469.2 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.4753, allocations: 0.5266 MB / 469.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.4865, allocations: 9.476 MB / 479.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.4891, allocations: 123.8 kB / 479.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/0.4895, allocations: 84 kB / 479.5 MB, free: 13.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002892/0.4924, allocations: 1.219 MB / 480.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009395/0.4934, allocations: 280.7 kB / 480.9 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/0.5011, allocations: 3.711 MB / 484.7 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/0.5012, allocations: 27.94 kB / 484.7 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.5012, allocations: 4 kB / 484.7 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.5012, allocations: 11.95 kB / 484.7 MB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.5176, allocations: 8.087 MB / 492.8 MB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.5177, allocations: 8.281 kB / 492.8 MB, free: 412 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.5194, allocations: 387.4 kB / 493.2 MB, free: 24 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003188/0.5226, allocations: 0.9323 MB / 494.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.5228, allocations: 55.97 kB / 494.2 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.5351, allocations: 11.11 MB / 0.4934 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5351, allocations: 4 kB / 0.4934 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009122/0.5443, allocations: 5.508 MB / 0.4988 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/0.5461, allocations: 0.6343 MB / 0.4994 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006457/0.5467, allocations: 48 kB / 0.4995 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.5483, allocations: 115.9 kB / 0.4996 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/0.5488, allocations: 181.7 kB / 0.4998 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.549, allocations: 55.98 kB / 0.4998 GB, free: 12.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003106/0.5521, allocations: 1.747 MB / 0.5015 GB, free: 10.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5521, allocations: 0 / 0.5015 GB, free: 10.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002615/0.5547, allocations: 0.793 MB / 0.5023 GB, free: 10.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006099/0.5553, allocations: 238.5 kB / 0.5025 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.5657, allocations: 5.711 MB / 0.5081 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.5657, allocations: 0 / 0.5081 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003916/0.5696, allocations: 2.48 MB / 0.5105 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/0.5735, allocations: 0.7986 MB / 0.5113 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.5868, allocations: 7.826 MB / 0.5189 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/0.59, allocations: 2.785 MB / 0.5217 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002189/0.5922, allocations: 0.679 MB / 0.5223 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006216/0.5928, allocations: 179.4 kB / 0.5225 GB, free: 5.273 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5929, allocations: 0 / 0.5225 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Templates: time 0.2285/0.8214, allocations: 46.51 MB / 0.5679 GB, free: 120.3 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches