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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009624/0.0009624, allocations: 103 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009599/0.00096, allocations: 47.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2078, allocations: 50.46 MB / 407.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.007573/0.2154, allocations: 9.608 MB / 416.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004811/0.2203, allocations: 3.729 MB / 420.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009373/0.2213, allocations: 47.75 kB / 420.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.2227, allocations: 0.5944 MB / 421 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.2243, allocations: 0.7695 MB / 421.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.2252, allocations: 411.4 kB / 422.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.2274, allocations: 3.068 MB / 425.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.2287, allocations: 1.544 MB / 426.8 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.2299, allocations: 1.054 MB / 427.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.2315, allocations: 1.506 MB / 429.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.2318, allocations: 192 kB / 429.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007886/0.2325, allocations: 483.5 kB / 430 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.2331, allocations: 0.8683 MB / 430.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009604/0.2341, allocations: 1.36 MB / 432.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.2369, allocations: 4.166 MB / 436.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.2369, allocations: 0 / 436.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2369, allocations: 3.938 kB / 436.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.849e-05/0.237, allocations: 0 / 436.4 MB, free: 14.25 MB / 314.7 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.006272/0.2433, allocations: 3.165 MB / 439.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2434, allocations: 8.031 kB / 439.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.2445, allocations: 357.2 kB / 440 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.2473, allocations: 1.662 MB / 441.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2474, allocations: 152 kB / 441.8 MB, free: 8.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/0.2477, allocations: 203.9 kB / 442 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/0.2517, allocations: 2.698 MB / 444.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.2518, allocations: 11.91 kB / 444.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.252, allocations: 76 kB / 444.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.2521, allocations: 99.86 kB / 444.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.2558, allocations: 2.28 MB / 447.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.2677, allocations: 8.236 MB / 455.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.2705, allocations: 1.623 MB / 457 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.2723, allocations: 1.09 MB / 458.1 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.2726, allocations: 126 kB / 458.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2726, allocations: 51.5 kB / 458.3 MB, free: 7.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.146e-06/0.2726, allocations: 0 / 458.3 MB, free: 7.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.0122/0.2848, allocations: 6.453 MB / 464.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2849, allocations: 64.72 kB / 464.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.2875, allocations: 2.165 MB / 466.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.2876, allocations: 49.7 kB / 467 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.2883, allocations: 1.108 MB / 468.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.2887, allocations: 461.3 kB / 468.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.2891, allocations: 239.5 kB / 468.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2893, allocations: 357.9 kB / 469.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.2905, allocations: 0.7574 MB / 469.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.2919, allocations: 1.021 MB / 470.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.2946, allocations: 1.861 MB / 472.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.2946, allocations: 4 kB / 472.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005209/0.2998, allocations: 2.765 MB / 475.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.2999, allocations: 15.06 kB / 475.6 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2999, allocations: 7.984 kB / 475.6 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.3019, allocations: 0.7769 MB / 476.3 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.303, allocations: 275.5 kB / 476.6 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.3139, allocations: 8.751 MB / 485.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.3153, allocations: 91.83 kB / 485.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.3154, allocations: 55.98 kB / 485.5 MB, free: 11.99 MB / 362.7 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.001141/0.3166, allocations: 0.7454 MB / 486.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.3169, allocations: 201.5 kB / 486.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/0.3213, allocations: 2.5 MB / 488.9 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.3214, allocations: 16 kB / 489 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3214, allocations: 4 kB / 489 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.3214, allocations: 7.969 kB / 489 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008525/0.33, allocations: 4.944 MB / 493.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.33, allocations: 0 / 493.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000965/0.331, allocations: 211.9 kB / 494.1 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.3327, allocations: 0.6512 MB / 494.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.3328, allocations: 35.98 kB / 494.8 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008015/0.3408, allocations: 7.93 MB / 0.491 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3408, allocations: 4.062 kB / 0.491 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2107/0.5516, allocations: 26.14 MB / 0.5165 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/0.5524, allocations: 444.5 kB / 0.5169 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.5526, allocations: 33.44 kB / 0.5169 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000907/0.5535, allocations: 83.98 kB / 0.517 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.5538, allocations: 101.8 kB / 0.5171 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/0.5539, allocations: 44.77 kB / 0.5172 GB, free: 81.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001605/0.5555, allocations: 1.522 MB / 0.5186 GB, free: 80.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5555, allocations: 0 / 0.5186 GB, free: 80.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002165/0.5577, allocations: 0.7383 MB / 0.5194 GB, free: 80.77 MB / 378.7 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.001031/0.5587, allocations: 472.6 kB / 0.5198 GB, free: 80.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003529/0.5622, allocations: 2.384 MB / 0.5221 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5623, allocations: 0 / 0.5221 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.5643, allocations: 1.59 MB / 0.5237 GB, free: 77.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.5662, allocations: 441.9 kB / 0.5241 GB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007577/0.5738, allocations: 7.598 MB / 0.5315 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.575, allocations: 2.003 MB / 0.5335 GB, free: 67.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001079/0.576, allocations: 407.7 kB / 0.5339 GB, free: 67.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.5764, allocations: 131.4 kB / 0.534 GB, free: 67.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5764, allocations: 0 / 0.534 GB, free: 67.43 MB / 378.7 MB Notification: Performance of Templates: time 0.04474/0.6212, allocations: 35.9 MB / 0.5691 GB, free: 31.74 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches