Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 109.9 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 189.5 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 47.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2761, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009758/0.2858, allocations: 8.897 MB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005478/0.2914, allocations: 2.868 MB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.2928, allocations: 43.81 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.2946, allocations: 0.5939 MB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.2972, allocations: 0.7339 MB / 414.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.298, allocations: 319.5 kB / 414.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002831/0.3008, allocations: 2.366 MB / 417.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.3028, allocations: 1.758 MB / 419 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.3045, allocations: 1.067 MB / 420.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.3064, allocations: 1.343 MB / 421.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004229/0.3069, allocations: 280 kB / 421.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007913/0.3077, allocations: 363.8 kB / 422 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007012/0.3084, allocations: 0.8025 MB / 422.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.3096, allocations: 1.26 MB / 424.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.3129, allocations: 3.676 MB / 427.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.313, allocations: 7.984 kB / 427.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.313, allocations: 0 / 427.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.383e-05/0.313, allocations: 0 / 427.8 MB, free: 14.39 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004923/0.318, allocations: 2.579 MB / 430.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.318, allocations: 8.031 kB / 430.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.3187, allocations: 262.1 kB / 430.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.3209, allocations: 1.385 MB / 432 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.321, allocations: 135.9 kB / 432.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.3213, allocations: 192 kB / 432.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/0.3256, allocations: 2.406 MB / 434.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.3256, allocations: 4 kB / 434.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.3258, allocations: 76 kB / 434.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-05/0.3259, allocations: 83.5 kB / 434.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.3293, allocations: 2.02 MB / 436.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.3409, allocations: 7.374 MB / 444.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.3429, allocations: 1.272 MB / 445.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.3447, allocations: 0.9236 MB / 446.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.345, allocations: 118.1 kB / 446.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/0.3451, allocations: 43.56 kB / 446.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.978e-06/0.3451, allocations: 0 / 446.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009867/0.355, allocations: 4.892 MB / 451.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.355, allocations: 64.41 kB / 451.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.3572, allocations: 1.38 MB / 453 MB, free: 4.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/0.3573, allocations: 41.7 kB / 453 MB, free: 4.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007085/0.358, allocations: 0.8931 MB / 453.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.3583, allocations: 354.9 kB / 454.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.3586, allocations: 214.7 kB / 454.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.3589, allocations: 353.9 kB / 454.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009614/0.3599, allocations: 0.6272 MB / 455.4 MB, free: 2.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3611, allocations: 0.9337 MB / 456.4 MB, free: 1.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.3634, allocations: 1.649 MB / 458 MB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.3634, allocations: 4 kB / 458 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004377/0.3678, allocations: 2.39 MB / 460.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3678, allocations: 12 kB / 460.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3679, allocations: 8 kB / 460.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.3697, allocations: 0.7082 MB / 461.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/0.3705, allocations: 231.6 kB / 461.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.381, allocations: 8.734 MB / 470.1 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.3822, allocations: 79.86 kB / 470.2 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.3823, allocations: 51.92 kB / 470.2 MB, free: 2.777 MB / 382.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.001023/0.3834, allocations: 0.6223 MB / 470.9 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.3837, allocations: 146.3 kB / 471 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.3869, allocations: 1.893 MB / 472.9 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3869, allocations: 12 kB / 472.9 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3869, allocations: 0 / 472.9 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3869, allocations: 12.09 kB / 472.9 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.3936, allocations: 4.004 MB / 476.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3936, allocations: 0 / 476.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.3944, allocations: 183.8 kB / 477.1 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.3956, allocations: 459.1 kB / 477.5 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-05/0.3957, allocations: 35.92 kB / 477.6 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006378/0.4021, allocations: 6.697 MB / 484.3 MB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4022, allocations: 3.938 kB / 484.3 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/0.4066, allocations: 2.779 MB / 487.1 MB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/0.4074, allocations: 351.3 kB / 487.4 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.4077, allocations: 24 kB / 487.4 MB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.4084, allocations: 71.91 kB / 487.5 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.4087, allocations: 80.83 kB / 487.6 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.4087, allocations: 31.98 kB / 487.6 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.4101, allocations: 0.9543 MB / 488.6 MB, free: 15.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4101, allocations: 0 / 488.6 MB, free: 15.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00143/0.4116, allocations: 431.9 kB / 489 MB, free: 15.4 MB / 414.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.0003582/0.4119, allocations: 179 kB / 489.2 MB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.4153, allocations: 2.005 MB / 491.2 MB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4153, allocations: 4.125 kB / 491.2 MB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.4173, allocations: 1.351 MB / 492.5 MB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.4191, allocations: 384.2 kB / 492.9 MB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006906/0.426, allocations: 4.034 MB / 496.9 MB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.4274, allocations: 1.669 MB / 498.6 MB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.4279, allocations: 107.4 kB / 498.7 MB, free: 5.488 MB / 414.1 MB Notification: Performance of SimCode: time 2.484e-06/0.4279, allocations: 0 / 498.7 MB, free: 5.488 MB / 414.1 MB Notification: Performance of Templates: time 0.06584/0.4937, allocations: 53.02 MB / 0.5388 GB, free: 500 kB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches