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.001378/0.001378, allocations: 117.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 203.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.88 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2725, allocations: 50.54 MB / 409.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01365/0.2862, allocations: 12.93 MB / 422.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009127/0.2954, allocations: 4.249 MB / 426.5 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.2987, allocations: 79.69 kB / 426.5 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.3019, allocations: 1.021 MB / 427.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.3066, allocations: 1.231 MB / 428.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.308, allocations: 0.5266 MB / 429.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005287/0.3133, allocations: 4.649 MB / 434 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/0.3173, allocations: 3.69 MB / 437.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.3213, allocations: 2.154 MB / 439.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003716/0.325, allocations: 2.557 MB / 442.4 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008413/0.3258, allocations: 0.5547 MB / 442.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.3271, allocations: 0.6482 MB / 443.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.3285, allocations: 1.523 MB / 445.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003114/0.3316, allocations: 2.489 MB / 447.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007299/0.3389, allocations: 7.438 MB / 455 MB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.339, allocations: 3.984 kB / 455 MB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.339, allocations: 4 kB / 455 MB, free: 3.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001741/0.3392, allocations: 0 / 455 MB, free: 3.777 MB / 366.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.009587/0.3488, allocations: 4.706 MB / 459.7 MB, free: 15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3488, allocations: 8.031 kB / 459.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.3503, allocations: 0.5268 MB / 460.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.3543, allocations: 2.594 MB / 462.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.3545, allocations: 267 kB / 463.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.355, allocations: 355.9 kB / 463.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007437/0.3625, allocations: 5.029 MB / 468.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/0.3625, allocations: 11.84 kB / 468.5 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.3629, allocations: 144 kB / 468.7 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/0.363, allocations: 183 kB / 468.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/0.3695, allocations: 4.298 MB / 473.1 MB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02255/0.3921, allocations: 14.71 MB / 487.8 MB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.3964, allocations: 4.198 MB / 492 MB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.3993, allocations: 2.002 MB / 494 MB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.3997, allocations: 127.1 kB / 494.2 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.3997, allocations: 56.56 kB / 494.2 MB, free: 11.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.848e-06/0.3997, allocations: 0 / 494.2 MB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01909/0.4188, allocations: 9.957 MB / 0.4924 GB, free: 1.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.4189, allocations: 81.34 kB / 0.4924 GB, free: 1.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/0.423, allocations: 2.51 MB / 0.4949 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002071/0.4232, allocations: 65.7 kB / 0.495 GB, free: 14.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.4244, allocations: 1.626 MB / 0.4965 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000603/0.425, allocations: 0.7277 MB / 0.4973 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006773/0.4257, allocations: 424.3 kB / 0.4977 GB, free: 12.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.4258, allocations: 301.1 kB / 0.4979 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.4277, allocations: 1.301 MB / 0.4992 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.43, allocations: 1.778 MB / 0.501 GB, free: 8.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00425/0.4342, allocations: 3.212 MB / 0.5041 GB, free: 5.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4343, allocations: 4 kB / 0.5041 GB, free: 5.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00673/0.441, allocations: 4.071 MB / 0.5081 GB, free: 1.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.441, allocations: 12.47 kB / 0.5081 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.4411, allocations: 12 kB / 0.5081 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/0.4438, allocations: 0.8794 MB / 0.5089 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.4458, allocations: 0.5227 MB / 0.5095 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009792/0.4556, allocations: 9.481 MB / 0.5187 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.4577, allocations: 119.8 kB / 0.5188 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.4579, allocations: 95.92 kB / 0.5189 GB, free: 5.504 MB / 446.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.002171/0.46, allocations: 1.215 MB / 0.5201 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/0.4606, allocations: 276.7 kB / 0.5204 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005891/0.4665, allocations: 3.711 MB / 0.524 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.4665, allocations: 20 kB / 0.524 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4665, allocations: 8 kB / 0.524 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.4665, allocations: 11.95 kB / 0.524 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.4805, allocations: 8.025 MB / 0.5319 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.4806, allocations: 352 / 0.5319 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.4822, allocations: 391.4 kB / 0.5322 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/0.4852, allocations: 0.9252 MB / 0.5332 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.4854, allocations: 55.97 kB / 0.5332 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2513/0.7367, allocations: 11.08 MB / 0.544 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.7368, allocations: 2.75 kB / 0.544 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008233/0.745, allocations: 5.514 MB / 0.5494 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.7466, allocations: 0.631 MB / 0.55 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/0.7472, allocations: 54.88 kB / 0.5501 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.7488, allocations: 117.7 kB / 0.5502 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/0.7492, allocations: 176.2 kB / 0.5504 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.7494, allocations: 59.44 kB / 0.5504 GB, free: 117.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002458/0.7518, allocations: 1.74 MB / 0.5521 GB, free: 117.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7518, allocations: 0 / 0.5521 GB, free: 117.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002354/0.7542, allocations: 0.8082 MB / 0.5529 GB, free: 117.1 MB / 462.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.0004675/0.7547, allocations: 230.3 kB / 0.5531 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.7592, allocations: 3.888 MB / 0.5569 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.7592, allocations: 3.344 kB / 0.5569 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002976/0.7622, allocations: 2.487 MB / 0.5594 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.7654, allocations: 0.794 MB / 0.5601 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/0.7752, allocations: 7.744 MB / 0.5677 GB, free: 105.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.7769, allocations: 2.778 MB / 0.5704 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001709/0.7787, allocations: 0.679 MB / 0.5711 GB, free: 102.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.7792, allocations: 179.4 kB / 0.5712 GB, free: 102 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7792, allocations: 0 / 0.5712 GB, free: 102 MB / 462.1 MB Notification: Performance of Templates: time 0.0594/0.8386, allocations: 44.71 MB / 0.6149 GB, free: 57.71 MB / 462.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