Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.854/1.854, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 50.54 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.0174/0.3754, allocations: 9.716 MB / 419.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.3869, allocations: 3.747 MB / 423.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.3893, allocations: 47.81 kB / 423.5 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.3927, allocations: 0.6715 MB / 424.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.3973, allocations: 0.8699 MB / 425 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.3994, allocations: 475.2 kB / 425.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005183/0.4046, allocations: 2.658 MB / 428.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003733/0.4084, allocations: 1.881 MB / 430 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.4116, allocations: 1.203 MB / 431.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003812/0.4155, allocations: 1.514 MB / 432.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.4166, allocations: 304 kB / 433 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.4187, allocations: 0.5504 MB / 433.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.4205, allocations: 1.025 MB / 434.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003476/0.424, allocations: 1.485 MB / 436.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0082/0.4323, allocations: 4.308 MB / 440.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.4324, allocations: 0 / 440.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4324, allocations: 0 / 440.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.4325, allocations: 0 / 440.4 MB, free: 2.961 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01151/0.444, allocations: 3.189 MB / 443.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/0.4441, allocations: 8.031 kB / 443.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.4466, allocations: 357.1 kB / 443.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/0.4527, allocations: 1.724 MB / 445.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.453, allocations: 155.9 kB / 445.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009978/0.454, allocations: 203.9 kB / 446 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009963/0.464, allocations: 2.698 MB / 448.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.4642, allocations: 7.906 kB / 448.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006402/0.4649, allocations: 83.98 kB / 448.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.4651, allocations: 91.88 kB / 448.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008082/0.4733, allocations: 2.28 MB / 451.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.4989, allocations: 8.139 MB / 459.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005392/0.5044, allocations: 1.631 MB / 460.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/0.5079, allocations: 1.097 MB / 462 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.5084, allocations: 126 kB / 462.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.5084, allocations: 51.56 kB / 462.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 6.472e-06/0.5085, allocations: 0 / 462.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02275/0.5312, allocations: 6.453 MB / 468.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.5314, allocations: 72.7 kB / 468.7 MB, free: 5.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/0.5369, allocations: 2.17 MB / 470.9 MB, free: 3.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003788/0.5373, allocations: 53.69 kB / 471 MB, free: 3.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.5387, allocations: 1.116 MB / 472.1 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008352/0.5395, allocations: 457.4 kB / 472.5 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009978/0.5406, allocations: 247.4 kB / 472.8 MB, free: 1.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.5408, allocations: 365.9 kB / 473.1 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.5432, allocations: 0.7651 MB / 473.9 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/0.546, allocations: 1.01 MB / 474.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.551, allocations: 1.861 MB / 476.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/0.551, allocations: 4 kB / 476.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.009637/0.5607, allocations: 2.761 MB / 479.5 MB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.5608, allocations: 8 kB / 479.5 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.5608, allocations: 8 kB / 479.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.5641, allocations: 0.7889 MB / 480.3 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.5662, allocations: 267.6 kB / 480.6 MB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/0.5869, allocations: 9.594 MB / 490.2 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.5895, allocations: 95.95 kB / 490.3 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/0.59, allocations: 51.98 kB / 490.3 MB, free: 15.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002268/0.5923, allocations: 0.7433 MB / 491.1 MB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009763/0.5933, allocations: 201.5 kB / 491.3 MB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008255/0.6015, allocations: 2.493 MB / 493.8 MB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/0.6016, allocations: 16 kB / 493.8 MB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/0.6017, allocations: 11.94 kB / 493.8 MB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/0.6017, allocations: 7.969 kB / 493.8 MB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/0.6188, allocations: 4.938 MB / 498.7 MB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.6189, allocations: 0 / 498.7 MB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.6208, allocations: 219.6 kB / 499 MB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.624, allocations: 0.6582 MB / 499.6 MB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002706/0.6243, allocations: 35.98 kB / 499.6 MB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.6405, allocations: 8.719 MB / 0.4964 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.6406, allocations: 7.969 kB / 0.4965 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.6517, allocations: 3.536 MB / 0.4999 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/0.6537, allocations: 442.4 kB / 0.5003 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006831/0.6544, allocations: 28.08 kB / 0.5004 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.6564, allocations: 87.88 kB / 0.5004 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/0.657, allocations: 108.8 kB / 0.5005 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/0.6572, allocations: 35.98 kB / 0.5006 GB, free: 8.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004449/0.6617, allocations: 1.532 MB / 0.5021 GB, free: 7.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.6617, allocations: 0 / 0.5021 GB, free: 7.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003937/0.6657, allocations: 0.5273 MB / 0.5026 GB, free: 6.832 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/0.6678, allocations: 464.7 kB / 0.503 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007883/0.6757, allocations: 2.38 MB / 0.5054 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.6757, allocations: 1.25 kB / 0.5054 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004705/0.6804, allocations: 1.601 MB / 0.5069 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/0.6849, allocations: 460.4 kB / 0.5074 GB, free: 1.977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.6953, allocations: 5.19 MB / 0.5124 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/0.6976, allocations: 1.936 MB / 0.5143 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/0.6984, allocations: 147.4 kB / 0.5145 GB, free: 10.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.854e-06/0.6984, allocations: 4 kB / 0.5145 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Templates: time 0.2637/0.9621, allocations: 64.71 MB / 0.5777 GB, free: 97.19 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches