Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000898/0.0008981, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009211/0.0009214, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002468, allocations: 8 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.009482/0.1216, allocations: 8.856 MB / 368.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006562/0.1282, allocations: 2.992 MB / 371.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.1308, allocations: 43.81 kB / 371.1 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.1332, allocations: 0.5594 MB / 371.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.136, allocations: 0.7072 MB / 372.4 MB, free: 84 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2175/0.3535, allocations: 304.5 kB / 372.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.3584, allocations: 3.083 MB / 375.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.3607, allocations: 1.805 MB / 377.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.3625, allocations: 0.9171 MB / 378.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.3651, allocations: 1.291 MB / 379.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005144/0.3656, allocations: 133.1 kB / 379.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.3668, allocations: 242.5 kB / 380.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009366/0.3678, allocations: 0.6879 MB / 380.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.3693, allocations: 1.206 MB / 382.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.3743, allocations: 3.843 MB / 385.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3743, allocations: 0 / 385.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3743, allocations: 0 / 385.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.573e-05/0.3744, allocations: 2.031 kB / 385.9 MB, free: 8.035 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.004925/0.3794, allocations: 2.443 MB / 388.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3794, allocations: 10.25 kB / 388.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.3805, allocations: 328.2 kB / 388.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.3827, allocations: 1.502 MB / 390.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3828, allocations: 151.6 kB / 390.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003957/0.3832, allocations: 205.6 kB / 390.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.3876, allocations: 2.749 MB / 393.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-05/0.3876, allocations: 10.36 kB / 393.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.3878, allocations: 83.47 kB / 393.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-05/0.3879, allocations: 93.06 kB / 393.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.3917, allocations: 2.346 MB / 395.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.4045, allocations: 8.46 MB / 404.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.4067, allocations: 1.792 MB / 406.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.4087, allocations: 1.078 MB / 407.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.409, allocations: 121.6 kB / 407.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.409, allocations: 47.56 kB / 407.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/0.409, allocations: 0 / 407.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01435/0.4234, allocations: 6.299 MB / 413.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.4235, allocations: 64.41 kB / 413.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.4261, allocations: 1.517 MB / 415.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.4263, allocations: 49.7 kB / 415.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007475/0.427, allocations: 0.9882 MB / 416.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.4274, allocations: 424.8 kB / 416.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.4276, allocations: 117.6 kB / 416.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4278, allocations: 357.9 kB / 417.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.429, allocations: 0.7417 MB / 417.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4304, allocations: 1.067 MB / 418.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.4333, allocations: 1.898 MB / 420.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.4333, allocations: 4 kB / 420.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004828/0.4382, allocations: 2.373 MB / 423.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.4382, allocations: 12 kB / 423.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.4383, allocations: 8 kB / 423.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.4394, allocations: 407.4 kB / 423.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4406, allocations: 335.5 kB / 423.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/0.4458, allocations: 4.654 MB / 428.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.4476, allocations: 91.91 kB / 428.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.4478, allocations: 55.94 kB / 428.7 MB, free: 1.523 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.001819/0.4497, allocations: 0.7179 MB / 429.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.4501, allocations: 165.9 kB / 429.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.454, allocations: 2.161 MB / 431.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.454, allocations: 12 kB / 431.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.454, allocations: 0 / 431.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.454, allocations: 11.92 kB / 431.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007797/0.4618, allocations: 4.597 MB / 436.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4619, allocations: 4 kB / 436.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009484/0.4628, allocations: 224 kB / 436.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.4641, allocations: 467.7 kB / 437.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.4642, allocations: 31.98 kB / 437.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.4702, allocations: 6.157 MB / 443.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4702, allocations: 4.031 kB / 443.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/0.4753, allocations: 3.213 MB / 446.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009729/0.4763, allocations: 399 kB / 446.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.4765, allocations: 43.91 kB / 446.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/0.4774, allocations: 75.92 kB / 447 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/0.4777, allocations: 104.8 kB / 447.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.4778, allocations: 35.98 kB / 447.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001832/0.4796, allocations: 1.056 MB / 448.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4796, allocations: 0 / 448.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00183/0.4815, allocations: 460 kB / 448.6 MB, free: 13.04 MB / 366.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.0003858/0.4819, allocations: 189.7 kB / 448.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.4854, allocations: 2.286 MB / 451.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.4854, allocations: 0 / 451.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.4876, allocations: 1.496 MB / 452.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.4901, allocations: 426.3 kB / 453 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008048/0.4981, allocations: 5.55 MB / 458.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.4997, allocations: 1.826 MB / 460.4 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.5011, allocations: 401.6 kB / 460.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.5015, allocations: 115.4 kB / 460.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5015, allocations: 0 / 460.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of Templates: time 0.04634/0.5479, allocations: 24.21 MB / 485.1 MB, free: 8.59 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches