Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001813/0.001813, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 53.95 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01354/0.166, allocations: 9.283 MB / 335.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.1745, allocations: 3.004 MB / 338.9 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.1772, allocations: 35.81 kB / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.1799, allocations: 0.5478 MB / 339.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.1841, allocations: 0.7111 MB / 340.2 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1854, allocations: 311.7 kB / 340.5 MB, free: 6.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00486/0.1902, allocations: 3.114 MB / 343.6 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.1927, allocations: 1.564 MB / 345.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.195, allocations: 1.027 MB / 346.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.1978, allocations: 1.436 MB / 347.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007574/0.1986, allocations: 188 kB / 347.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.1999, allocations: 291.8 kB / 348.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009517/0.2008, allocations: 0.7632 MB / 348.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.2028, allocations: 1.279 MB / 350.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.2075, allocations: 3.937 MB / 354.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.2076, allocations: 0 / 354.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.2076, allocations: 0 / 354.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001685/0.2078, allocations: 0 / 354.1 MB, free: 9.238 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.01001/0.2178, allocations: 2.845 MB / 356.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.93e-05/0.2179, allocations: 8.031 kB / 356.9 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.2192, allocations: 293.7 kB / 357.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.2221, allocations: 1.434 MB / 358.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.2223, allocations: 148.4 kB / 358.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.2226, allocations: 208 kB / 359 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0057/0.2283, allocations: 2.732 MB / 361.7 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-05/0.2284, allocations: 0 / 361.7 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.2287, allocations: 87.98 kB / 361.8 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.2288, allocations: 99.86 kB / 361.9 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/0.2332, allocations: 2.33 MB / 364.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.248, allocations: 8.414 MB / 372.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.2506, allocations: 1.772 MB / 374.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.253, allocations: 1.066 MB / 375.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.2534, allocations: 118.1 kB / 375.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.2535, allocations: 47.56 kB / 375.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.669e-06/0.2535, allocations: 0 / 375.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.2892/0.5427, allocations: 6.307 MB / 382 MB, free: 51.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.5428, allocations: 69.94 kB / 382 MB, free: 51.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/0.5468, allocations: 1.509 MB / 383.5 MB, free: 50.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.5471, allocations: 46.27 kB / 383.6 MB, free: 50.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.5484, allocations: 0.9874 MB / 384.6 MB, free: 49.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005708/0.549, allocations: 419.8 kB / 385 MB, free: 49.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006183/0.5496, allocations: 253.8 kB / 385.2 MB, free: 49.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.5498, allocations: 361.3 kB / 385.6 MB, free: 49.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.5516, allocations: 0.7309 MB / 386.3 MB, free: 48.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.5536, allocations: 1.055 MB / 387.4 MB, free: 48.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.5568, allocations: 1.875 MB / 389.2 MB, free: 47.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.5568, allocations: 6.094 kB / 389.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005652/0.5625, allocations: 2.353 MB / 391.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.5625, allocations: 11.81 kB / 391.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.5626, allocations: 7.875 kB / 391.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.5636, allocations: 402.8 kB / 392 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.5649, allocations: 335 kB / 392.3 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.57, allocations: 4.64 MB / 397 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.572, allocations: 88.39 kB / 397.1 MB, free: 42.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.5722, allocations: 51.47 kB / 397.1 MB, free: 42.63 MB / 318.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.001698/0.5739, allocations: 0.7067 MB / 397.8 MB, free: 42.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007533/0.5747, allocations: 160.6 kB / 398 MB, free: 42.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.5785, allocations: 2.147 MB / 400.1 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.5785, allocations: 13.88 kB / 400.1 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-05/0.5786, allocations: 7.75 kB / 400.2 MB, free: 41.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5786, allocations: 3.984 kB / 400.2 MB, free: 41.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008879/0.5875, allocations: 4.592 MB / 404.7 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.5876, allocations: 4.031 kB / 404.8 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.5885, allocations: 219.7 kB / 405 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.5897, allocations: 471.2 kB / 405.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.5899, allocations: 27.98 kB / 405.5 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/0.5951, allocations: 6.148 MB / 411.6 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5952, allocations: 4.031 kB / 411.6 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/0.6002, allocations: 3.177 MB / 414.8 MB, free: 27.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.6015, allocations: 403 kB / 415.2 MB, free: 26.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007947/0.6023, allocations: 27.94 kB / 415.2 MB, free: 26.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.6038, allocations: 79.91 kB / 415.3 MB, free: 26.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/0.6041, allocations: 100.8 kB / 415.4 MB, free: 26.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.6043, allocations: 37.67 kB / 415.4 MB, free: 26.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002593/0.6069, allocations: 1.044 MB / 416.5 MB, free: 25.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6069, allocations: 0 / 416.5 MB, free: 25.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002998/0.6099, allocations: 464 kB / 416.9 MB, free: 25.1 MB / 318.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.0005444/0.6105, allocations: 193.3 kB / 417.1 MB, free: 24.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.6145, allocations: 2.269 MB / 419.4 MB, free: 22.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.6145, allocations: 2.625 kB / 419.4 MB, free: 22.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.6169, allocations: 1.496 MB / 420.9 MB, free: 21.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/0.6203, allocations: 422.6 kB / 421.3 MB, free: 20.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/0.6303, allocations: 5.395 MB / 426.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/0.6325, allocations: 1.826 MB / 428.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001563/0.6341, allocations: 393.5 kB / 428.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.6346, allocations: 107.4 kB / 429 MB, free: 12.83 MB / 318.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6346, allocations: 0 / 429 MB, free: 12.83 MB / 318.1 MB Notification: Performance of Templates: time 0.05722/0.6918, allocations: 24.51 MB / 453.5 MB, free: 4.312 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches