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.001508/0.001508, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002138/0.002138, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.86 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08653, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01331/0.09988, allocations: 12.92 MB / 371.8 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.2803, allocations: 4.257 MB / 376.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.2827, allocations: 81.14 kB / 376.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.2865, allocations: 0.9699 MB / 377.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005118/0.2917, allocations: 1.179 MB / 378.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.2936, allocations: 0.5249 MB / 378.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006149/0.2998, allocations: 4.655 MB / 383.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.3042, allocations: 3.687 MB / 387.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004416/0.3086, allocations: 2.137 MB / 389.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.3134, allocations: 2.571 MB / 391.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.315, allocations: 0.552 MB / 392.4 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.3176, allocations: 0.6478 MB / 393.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.3196, allocations: 1.523 MB / 394.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004333/0.3239, allocations: 2.489 MB / 397.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00772/0.3317, allocations: 7.436 MB / 404.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3317, allocations: 0 / 404.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3317, allocations: 0 / 404.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002183/0.3319, allocations: 0 / 404.5 MB, free: 11.88 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.01118/0.3431, allocations: 4.713 MB / 409.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3432, allocations: 11.97 kB / 409.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.3449, allocations: 0.5268 MB / 409.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005713/0.3506, allocations: 2.586 MB / 412.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.3509, allocations: 273.2 kB / 412.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007625/0.3517, allocations: 358.1 kB / 413 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009201/0.3609, allocations: 5.023 MB / 418 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.044e-05/0.361, allocations: 11.84 kB / 418 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.3613, allocations: 146.5 kB / 418.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.3615, allocations: 179.1 kB / 418.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007077/0.3686, allocations: 4.302 MB / 422.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02359/0.3922, allocations: 14.71 MB / 437.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/0.3968, allocations: 4.194 MB / 441.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.3997, allocations: 2 MB / 443.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.4, allocations: 129.7 kB / 443.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.4001, allocations: 56.56 kB / 443.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.727e-06/0.4001, allocations: 4 kB / 443.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.0186/0.4187, allocations: 9.941 MB / 453.7 MB, free: 9.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.4188, allocations: 73.41 kB / 453.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/0.4226, allocations: 2.51 MB / 456.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.4227, allocations: 61.7 kB / 456.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.4239, allocations: 1.631 MB / 457.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/0.4245, allocations: 0.729 MB / 458.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006526/0.4251, allocations: 416.3 kB / 459.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.4252, allocations: 301.1 kB / 459.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.4271, allocations: 1.297 MB / 460.7 MB, free: 2.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.4293, allocations: 1.782 MB / 462.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.4335, allocations: 3.222 MB / 465.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4335, allocations: 4 kB / 465.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006452/0.44, allocations: 4.079 MB / 469.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.4401, allocations: 14.34 kB / 469.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.4401, allocations: 12 kB / 469.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/0.4427, allocations: 0.8834 MB / 470.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.4446, allocations: 0.5227 MB / 471.2 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.4546, allocations: 9.481 MB / 480.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.4567, allocations: 119.8 kB / 480.8 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.4569, allocations: 87.98 kB / 480.9 MB, free: 13.88 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.002097/0.459, allocations: 1.223 MB / 482.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/0.4595, allocations: 276.7 kB / 482.4 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/0.4658, allocations: 3.707 MB / 486.1 MB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.4659, allocations: 20.09 kB / 486.1 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4659, allocations: 19.92 kB / 486.1 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.4659, allocations: 11.95 kB / 486.1 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.4785, allocations: 8.02 MB / 494.1 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.4785, allocations: 4 kB / 494.1 MB, free: 500 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.4801, allocations: 387.4 kB / 494.5 MB, free: 112 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/0.483, allocations: 0.9175 MB / 495.4 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.4832, allocations: 55.97 kB / 495.5 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.4974, allocations: 11.1 MB / 0.4947 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.4975, allocations: 7.938 kB / 0.4947 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.5098, allocations: 5.5 MB / 0.5001 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/0.5124, allocations: 0.6304 MB / 0.5007 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006741/0.5131, allocations: 55.98 kB / 0.5008 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.5145, allocations: 107.9 kB / 0.5009 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00046/0.515, allocations: 189.7 kB / 0.5011 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.5151, allocations: 59.98 kB / 0.5011 GB, free: 12.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002578/0.5177, allocations: 1.735 MB / 0.5028 GB, free: 11.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5177, allocations: 0 / 0.5028 GB, free: 11.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003366/0.5211, allocations: 0.7969 MB / 0.5036 GB, free: 10.29 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.0007341/0.5219, allocations: 243.4 kB / 0.5038 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008345/0.5302, allocations: 3.888 MB / 0.5076 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.5303, allocations: 4 kB / 0.5076 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005659/0.5359, allocations: 2.487 MB / 0.51 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/0.5403, allocations: 0.7882 MB / 0.5108 GB, free: 2.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.5582, allocations: 7.747 MB / 0.5184 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/0.5623, allocations: 2.781 MB / 0.5211 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003501/0.5658, allocations: 0.6868 MB / 0.5218 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008754/0.5667, allocations: 175.4 kB / 0.5219 GB, free: 7.277 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5667, allocations: 0 / 0.5219 GB, free: 7.277 MB / 446.1 MB Notification: Performance of Templates: time 0.2812/0.8479, allocations: 43.82 MB / 0.5647 GB, free: 124.9 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/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