Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001476, 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.00187/0.00187, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.8 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 61.03 kB / 306.9 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.088/0.08913, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009881/0.09905, allocations: 8.946 MB / 366.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005798/0.1049, allocations: 2.944 MB / 369.4 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.1059, allocations: 43.81 kB / 369.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.1074, allocations: 0.6134 MB / 370 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.1094, allocations: 0.7261 MB / 370.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.1101, allocations: 335.5 kB / 371.1 MB, free: 376 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1466/0.2567, allocations: 2.355 MB / 373.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.2588, allocations: 1.765 MB / 375.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.2603, allocations: 1.065 MB / 376.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.2618, allocations: 1.346 MB / 377.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.2623, allocations: 282.5 kB / 377.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007337/0.263, allocations: 379.2 kB / 378.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.2637, allocations: 0.8 MB / 379.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.2648, allocations: 1.265 MB / 380.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.2682, allocations: 3.663 MB / 384 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2683, allocations: 0 / 384 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.2683, allocations: 1.094 kB / 384 MB, free: 8.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.102e-05/0.2684, allocations: 7.406 kB / 384 MB, free: 8.023 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004903/0.2733, allocations: 2.594 MB / 386.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2733, allocations: 9.062 kB / 386.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.2743, allocations: 289.1 kB / 386.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.2763, allocations: 1.36 MB / 388.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/0.2764, allocations: 140.5 kB / 388.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.2767, allocations: 182.7 kB / 388.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.2804, allocations: 2.411 MB / 391 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.2805, allocations: 10.91 kB / 391 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.2807, allocations: 74.77 kB / 391.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.362e-05/0.2808, allocations: 87.3 kB / 391.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.2839, allocations: 2.016 MB / 393.2 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.294, allocations: 7.457 MB / 400.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.2958, allocations: 1.274 MB / 401.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.2973, allocations: 0.911 MB / 402.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.2975, allocations: 122 kB / 402.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2976, allocations: 43.56 kB / 403 MB, free: 11.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.755e-06/0.2976, allocations: 0 / 403 MB, free: 11.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.008742/0.3063, allocations: 4.895 MB / 407.9 MB, free: 6.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3064, allocations: 64.39 kB / 407.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.3082, allocations: 1.393 MB / 409.3 MB, free: 5.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.3083, allocations: 45.7 kB / 409.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005957/0.3089, allocations: 0.9005 MB / 410.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.3091, allocations: 353.5 kB / 410.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/0.3095, allocations: 210.8 kB / 410.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3096, allocations: 357.9 kB / 411.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009283/0.3105, allocations: 0.6272 MB / 411.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3116, allocations: 0.9247 MB / 412.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.3137, allocations: 1.642 MB / 414.3 MB, free: 68 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3138, allocations: 8 kB / 414.4 MB, free: 60 kB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003867/0.3176, allocations: 2.39 MB / 416.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3177, allocations: 15.94 kB / 416.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3177, allocations: 8.25 kB / 416.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.3194, allocations: 0.7234 MB / 417.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.3202, allocations: 229.9 kB / 417.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009898/0.3301, allocations: 8.74 MB / 426.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3313, allocations: 87.77 kB / 426.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/0.3314, allocations: 47.98 kB / 426.6 MB, free: 3.625 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001014/0.3324, allocations: 0.6263 MB / 427.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.3326, allocations: 150.2 kB / 427.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.3358, allocations: 1.901 MB / 429.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3358, allocations: 8 kB / 429.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3358, allocations: 4 kB / 429.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3358, allocations: 7.969 kB / 429.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/0.3421, allocations: 4.009 MB / 433.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3421, allocations: 4 kB / 433.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007896/0.3429, allocations: 179.7 kB / 433.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.3441, allocations: 466.9 kB / 433.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.3442, allocations: 31.98 kB / 434 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006305/0.3505, allocations: 6.694 MB / 440.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.3505, allocations: 7.969 kB / 440.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.355, allocations: 2.774 MB / 443.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/0.3557, allocations: 363.2 kB / 443.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.356, allocations: 23.98 kB / 443.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/0.3568, allocations: 67.92 kB / 443.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.357, allocations: 80.83 kB / 444 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.3571, allocations: 31.98 kB / 444 MB, free: 1.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.3585, allocations: 0.9664 MB / 445 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3585, allocations: 0 / 445 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001452/0.36, allocations: 436 kB / 445.4 MB, free: 224 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,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.0003326/0.3603, allocations: 175.5 kB / 445.6 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004341/0.3647, allocations: 2.383 MB / 447.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3647, allocations: 0 / 447.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.3667, allocations: 1.336 MB / 449.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.3685, allocations: 393.8 kB / 449.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.3742, allocations: 4.061 MB / 453.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.3755, allocations: 1.7 MB / 455.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008846/0.3764, allocations: 316 kB / 455.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.3767, allocations: 95.42 kB / 455.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3767, allocations: 7.938 kB / 455.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of Templates: time 0.03863/0.4153, allocations: 24.12 MB / 480 MB, free: 13.73 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches