Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 108.9 kB / 17.28 MB, free: 6.059 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.001304/0.001304, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.332/1.332, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 47.03 kB / 300.8 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1011, allocations: 49.45 MB / 350.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01099/0.1122, allocations: 9.322 MB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005844/0.118, allocations: 2.933 MB / 362.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.1195, allocations: 43.81 kB / 362.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.1216, allocations: 0.5634 MB / 363.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.1242, allocations: 0.6994 MB / 363.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009771/0.1252, allocations: 311.7 kB / 364.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003305/0.1285, allocations: 2.647 MB / 366.8 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.1313, allocations: 2.155 MB / 368.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.1332, allocations: 1.191 MB / 370.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1657/0.2989, allocations: 1.522 MB / 371.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000955/0.2999, allocations: 307.5 kB / 371.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.3013, allocations: 401.5 kB / 372.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.3023, allocations: 0.8869 MB / 373.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.3043, allocations: 1.406 MB / 374.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004403/0.3087, allocations: 3.392 MB / 378 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3087, allocations: 1.281 kB / 378 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3088, allocations: 0 / 378 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.3089, allocations: 5.344 kB / 378 MB, free: 12.49 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.007346/0.3163, allocations: 2.849 MB / 380.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3163, allocations: 9.438 kB / 380.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009734/0.3173, allocations: 293.3 kB / 381.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.3198, allocations: 1.481 MB / 382.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3199, allocations: 152.5 kB / 382.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.3203, allocations: 210.2 kB / 383 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/0.3252, allocations: 2.739 MB / 385.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.3252, allocations: 8.031 kB / 385.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.3255, allocations: 81.78 kB / 385.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.3256, allocations: 90.34 kB / 385.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/0.3295, allocations: 2.328 MB / 388.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.3424, allocations: 8.405 MB / 396.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.3442, allocations: 1.782 MB / 398.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.3458, allocations: 1.066 MB / 399.5 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.346, allocations: 121.8 kB / 399.6 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.346, allocations: 48.31 kB / 399.7 MB, free: 4 kB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.3461, allocations: 0 / 399.7 MB, free: 4 kB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01289/0.3589, allocations: 6.198 MB / 405.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.359, allocations: 64.41 kB / 405.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.3615, allocations: 1.52 MB / 407.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.3617, allocations: 49.7 kB / 407.5 MB, free: 9.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.3625, allocations: 0.9814 MB / 408.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.3629, allocations: 417 kB / 408.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/0.3633, allocations: 255.3 kB / 409.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3635, allocations: 353.9 kB / 409.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.3646, allocations: 0.7339 MB / 410.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.3659, allocations: 1.061 MB / 411.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.3684, allocations: 1.869 MB / 413.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3684, allocations: 4 kB / 413.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003965/0.3724, allocations: 2.355 MB / 415.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.3724, allocations: 8 kB / 415.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.3724, allocations: 17.05 kB / 415.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3735, allocations: 410.3 kB / 415.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.3747, allocations: 330.5 kB / 416.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004926/0.3797, allocations: 5.067 MB / 421.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.3812, allocations: 83.91 kB / 421.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.3814, allocations: 60.05 kB / 421.4 MB, free: 11.12 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001389/0.3828, allocations: 0.7103 MB / 422.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.3832, allocations: 162 kB / 422.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.3869, allocations: 2.139 MB / 424.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3869, allocations: 16 kB / 424.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3869, allocations: 4 kB / 424.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.3869, allocations: 7.969 kB / 424.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007817/0.3948, allocations: 4.587 MB / 429.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.3948, allocations: 0 / 429.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/0.3958, allocations: 222.2 kB / 429.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.397, allocations: 469.1 kB / 429.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.3972, allocations: 36.67 kB / 429.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006207/0.4034, allocations: 6.681 MB / 436.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.4034, allocations: 7.938 kB / 436.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004982/0.4084, allocations: 3.181 MB / 439.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/0.4094, allocations: 395 kB / 440 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.4097, allocations: 35.98 kB / 440.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.4106, allocations: 71.92 kB / 440.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.4109, allocations: 111.6 kB / 440.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.411, allocations: 35.98 kB / 440.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.4125, allocations: 1.04 MB / 441.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4126, allocations: 0 / 441.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001645/0.4142, allocations: 471.9 kB / 441.8 MB, free: 6.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0004025/0.4146, allocations: 188.8 kB / 442 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004723/0.4194, allocations: 2.827 MB / 444.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.4194, allocations: 0 / 444.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.4216, allocations: 1.491 MB / 446.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.424, allocations: 438.4 kB / 446.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/0.4319, allocations: 5.451 MB / 452.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.4334, allocations: 1.799 MB / 454 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/0.4341, allocations: 115.4 kB / 454.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4341, allocations: 0 / 454.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of Templates: time 0.07507/0.5092, allocations: 69.86 MB / 0.5117 GB, free: 4.082 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches