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.001074/0.001074, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.17 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08596/0.08712, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01053/0.0977, allocations: 9.698 MB / 368.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1521/0.2498, allocations: 3.766 MB / 372.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.2514, allocations: 48.97 kB / 372.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.2534, allocations: 0.6605 MB / 373.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.2563, allocations: 0.8769 MB / 374 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2575, allocations: 479.8 kB / 374.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.2607, allocations: 2.659 MB / 377.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.2629, allocations: 1.88 MB / 379 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.2648, allocations: 1.193 MB / 380.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.267, allocations: 1.508 MB / 381.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004977/0.2675, allocations: 304.8 kB / 382 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.2687, allocations: 0.5577 MB / 382.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009741/0.2697, allocations: 1.025 MB / 383.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.2712, allocations: 1.49 MB / 385 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.2753, allocations: 4.302 MB / 389.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2753, allocations: 0 / 389.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2753, allocations: 0 / 389.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001077/0.2754, allocations: 5.094 kB / 389.3 MB, free: 5.605 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006349/0.2818, allocations: 3.178 MB / 392.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2818, allocations: 9.5 kB / 392.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.283, allocations: 361.1 kB / 392.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/0.2863, allocations: 1.723 MB / 394.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.2865, allocations: 153.5 kB / 394.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/0.2869, allocations: 204 kB / 395 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00438/0.2913, allocations: 2.701 MB / 397.7 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.2914, allocations: 6.625 kB / 397.7 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.2916, allocations: 77.22 kB / 397.7 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.743e-05/0.2917, allocations: 102 kB / 397.8 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.2956, allocations: 2.282 MB / 400.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.3094, allocations: 8.138 MB / 408.3 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.3124, allocations: 1.629 MB / 409.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.3142, allocations: 1.084 MB / 411 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.3145, allocations: 129.3 kB / 411.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3146, allocations: 43.56 kB / 411.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.126e-06/0.3146, allocations: 0 / 411.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01349/0.3281, allocations: 6.463 MB / 417.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.3282, allocations: 64.72 kB / 417.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/0.3314, allocations: 2.181 MB / 419.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.3316, allocations: 45.7 kB / 419.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008376/0.3325, allocations: 1.118 MB / 421 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.3329, allocations: 457.3 kB / 421.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.3334, allocations: 239.4 kB / 421.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3336, allocations: 361.9 kB / 422 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.335, allocations: 0.7613 MB / 422.8 MB, free: 8.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.3366, allocations: 1.015 MB / 423.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.3395, allocations: 1.855 MB / 425.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3396, allocations: 0 / 425.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005373/0.3449, allocations: 2.769 MB / 428.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.345, allocations: 11.98 kB / 428.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.345, allocations: 4 kB / 428.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.3471, allocations: 0.7846 MB / 429.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3483, allocations: 271.6 kB / 429.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.3613, allocations: 9.587 MB / 439.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.363, allocations: 99.95 kB / 439.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.3633, allocations: 47.98 kB / 439.2 MB, free: 7.254 MB / 350.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.001718/0.3651, allocations: 0.7471 MB / 440 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/0.3657, allocations: 209.4 kB / 440.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/0.3707, allocations: 2.488 MB / 442.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.3707, allocations: 16 kB / 442.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.3707, allocations: 4 kB / 442.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.3707, allocations: 11.95 kB / 442.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009753/0.3805, allocations: 4.943 MB / 447.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3805, allocations: 0 / 447.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.3816, allocations: 211.7 kB / 447.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.3833, allocations: 0.6575 MB / 448.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.3835, allocations: 31.98 kB / 448.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009375/0.3928, allocations: 8.732 MB / 457.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3929, allocations: 0 / 457.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006183/0.3991, allocations: 3.533 MB / 460.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.4002, allocations: 454.3 kB / 461.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.4007, allocations: 24 kB / 461.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4018, allocations: 83.89 kB / 461.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.402, allocations: 104.8 kB / 461.5 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.4022, allocations: 43.98 kB / 461.5 MB, free: 424 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002437/0.4046, allocations: 1.528 MB / 463 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4046, allocations: 4.75 kB / 463 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001874/0.4065, allocations: 0.5253 MB / 463.6 MB, free: 14.34 MB / 382.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.001174/0.4077, allocations: 467 kB / 464 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004123/0.4118, allocations: 2.384 MB / 466.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4118, allocations: 1.25 kB / 466.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.4144, allocations: 1.601 MB / 468 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.4166, allocations: 451.5 kB / 468.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/0.4255, allocations: 5.136 MB / 473.6 MB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/0.4275, allocations: 1.951 MB / 475.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001412/0.4289, allocations: 391.8 kB / 475.9 MB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/0.4294, allocations: 131.4 kB / 476 MB, free: 1.828 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4294, allocations: 3.938 kB / 476.1 MB, free: 1.824 MB / 382.1 MB Notification: Performance of Templates: time 0.0552/0.4846, allocations: 30.18 MB / 0.4944 GB, free: 3.887 MB / 414.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 -s cvode -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