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.001098/0.001098, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.8 MB / 246.8 MB, free: 9.656 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002137/0.0002136, allocations: 4 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09506, allocations: 51.53 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009372/0.1045, allocations: 8.389 MB / 367.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005199/0.1097, allocations: 2.898 MB / 370.6 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009293/0.1106, allocations: 35.88 kB / 370.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.1119, allocations: 0.5361 MB / 371.1 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.1135, allocations: 0.6684 MB / 371.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.1141, allocations: 291.7 kB / 372.1 MB, free: 212 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1723/0.2864, allocations: 2.738 MB / 374.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.2885, allocations: 1.44 MB / 376.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.2903, allocations: 0.8234 MB / 377.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.2923, allocations: 1.159 MB / 378.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.2925, allocations: 120.8 kB / 378.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006107/0.2931, allocations: 230.2 kB / 378.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.2938, allocations: 0.6199 MB / 379.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.2949, allocations: 1.077 MB / 380.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.2985, allocations: 3.483 MB / 383.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2986, allocations: 1.125 kB / 383.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2986, allocations: 0 / 383.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.928e-05/0.2986, allocations: 0 / 383.8 MB, free: 8.699 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.004189/0.3028, allocations: 2.21 MB / 386 MB, free: 7.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3029, allocations: 8.781 kB / 386 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.3038, allocations: 298 kB / 386.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.3058, allocations: 1.367 MB / 387.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.3059, allocations: 136.9 kB / 387.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.3062, allocations: 187.8 kB / 388 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.31, allocations: 2.416 MB / 390.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.3101, allocations: 6.625 kB / 390.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.3103, allocations: 81.62 kB / 390.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.991e-05/0.3104, allocations: 83.88 kB / 390.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.3137, allocations: 2.035 MB / 392.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.3239, allocations: 7.499 MB / 400.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.3257, allocations: 1.282 MB / 401.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.3276, allocations: 0.9143 MB / 402.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.3278, allocations: 120.3 kB / 402.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.3279, allocations: 47.55 kB / 402.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/0.3279, allocations: 1.406 kB / 402.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01012/0.338, allocations: 4.936 MB / 407.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3381, allocations: 72.34 kB / 407.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.3404, allocations: 1.385 MB / 408.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/0.3405, allocations: 41.7 kB / 408.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007245/0.3412, allocations: 0.9039 MB / 409.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.3415, allocations: 355.9 kB / 410.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3417, allocations: 101.6 kB / 410.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3419, allocations: 353.9 kB / 410.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.3429, allocations: 0.635 MB / 411.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3442, allocations: 0.9415 MB / 412.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.3466, allocations: 1.659 MB / 413.8 MB, free: 1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3466, allocations: 4 kB / 413.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004272/0.3509, allocations: 2.406 MB / 416.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3509, allocations: 12 kB / 416.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.351, allocations: 8.75 kB / 416.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.3528, allocations: 0.7158 MB / 417 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008639/0.3537, allocations: 239.7 kB / 417.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.3642, allocations: 8.018 MB / 425.2 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.3657, allocations: 91.97 kB / 425.3 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.3658, allocations: 44 kB / 425.3 MB, free: 5.176 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.001349/0.3672, allocations: 0.6301 MB / 426 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.3674, allocations: 150.1 kB / 426.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.3708, allocations: 1.921 MB / 428 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3708, allocations: 8 kB / 428 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3708, allocations: 4 kB / 428 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3708, allocations: 7.922 kB / 428.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/0.3775, allocations: 4.023 MB / 432.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3775, allocations: 0 / 432.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.3784, allocations: 191.7 kB / 432.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.3796, allocations: 474.5 kB / 432.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.3797, allocations: 23.98 kB / 432.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006198/0.3859, allocations: 6.143 MB / 438.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/0.3859, allocations: 8.016 kB / 438.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/0.3905, allocations: 2.803 MB / 441.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/0.3914, allocations: 363.2 kB / 442.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.3917, allocations: 27.92 kB / 442.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/0.3925, allocations: 75.92 kB / 442.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.3927, allocations: 80.83 kB / 442.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.3928, allocations: 31.98 kB / 442.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.3944, allocations: 0.9625 MB / 443.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3944, allocations: 4 kB / 443.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001662/0.396, allocations: 431.9 kB / 443.7 MB, free: 2.258 MB / 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.0003906/0.3964, allocations: 191.2 kB / 443.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003498/0.3999, allocations: 2.016 MB / 445.9 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4, allocations: 4 kB / 445.9 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.4021, allocations: 1.352 MB / 447.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.4042, allocations: 362.8 kB / 447.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.4119, allocations: 4.99 MB / 452.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.4133, allocations: 1.696 MB / 454.3 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009924/0.4143, allocations: 312 kB / 454.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.4146, allocations: 103.3 kB / 454.7 MB, free: 7.082 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4146, allocations: 4 kB / 454.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of Templates: time 0.0386/0.4532, allocations: 22.76 MB / 477.4 MB, free: 0.543 MB / 382.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