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.001223/0.001223, allocations: 104.4 kB / 18.36 MB, free: 4.641 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.001295/0.001295, allocations: 191 kB / 19.29 MB, free: 3.715 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.674/1.674, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.002206/0.002207, allocations: 51.92 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01141/0.1365, allocations: 9.341 MB / 338.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007294/0.1439, allocations: 3.027 MB / 341.1 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.1457, allocations: 43.81 kB / 341.1 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1477, allocations: 0.6288 MB / 341.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.1511, allocations: 0.761 MB / 342.5 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1521, allocations: 359.5 kB / 342.9 MB, free: 5.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.1559, allocations: 2.701 MB / 345.6 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.1582, allocations: 1.896 MB / 347.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.1602, allocations: 1.187 MB / 348.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.1623, allocations: 1.491 MB / 350.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003958/0.1627, allocations: 308 kB / 350.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007316/0.1635, allocations: 395.8 kB / 350.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008881/0.1644, allocations: 0.896 MB / 351.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.1659, allocations: 1.404 MB / 353.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.1695, allocations: 4.077 MB / 357.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.1695, allocations: 0 / 357.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1695, allocations: 3.938 kB / 357.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.962e-05/0.1696, allocations: 4 kB / 357.2 MB, free: 7.105 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.005743/0.1753, allocations: 2.841 MB / 360.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1754, allocations: 8.031 kB / 360.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/0.1761, allocations: 293.7 kB / 360.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.1789, allocations: 1.438 MB / 361.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.179, allocations: 156.4 kB / 362 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.1793, allocations: 216 kB / 362.2 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004718/0.1841, allocations: 2.728 MB / 364.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/0.1841, allocations: 11.98 kB / 364.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.1843, allocations: 80 kB / 365 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.1845, allocations: 91.94 kB / 365.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003987/0.1885, allocations: 2.326 MB / 367.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.2019, allocations: 8.313 MB / 375.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.204, allocations: 1.768 MB / 377.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.2057, allocations: 1.061 MB / 378.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.206, allocations: 126 kB / 378.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.2061, allocations: 43.56 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 5.711e-06/0.2061, allocations: 3.984 kB / 378.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.2151/0.4213, allocations: 6.294 MB / 385 MB, free: 50.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.4214, allocations: 64.48 kB / 385.1 MB, free: 50.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/0.4246, allocations: 1.521 MB / 386.6 MB, free: 49.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.4247, allocations: 46.8 kB / 386.6 MB, free: 49.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007282/0.4254, allocations: 0.9872 MB / 387.6 MB, free: 49.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.4258, allocations: 417.5 kB / 388 MB, free: 48.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.4263, allocations: 255 kB / 388.3 MB, free: 48.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4264, allocations: 357.5 kB / 388.6 MB, free: 48.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4279, allocations: 0.7338 MB / 389.4 MB, free: 48.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.4294, allocations: 1.055 MB / 390.4 MB, free: 47.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.432, allocations: 1.88 MB / 392.3 MB, free: 46.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.432, allocations: 0 / 392.3 MB, free: 46.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004171/0.4362, allocations: 2.351 MB / 394.7 MB, free: 45.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.4362, allocations: 9.844 kB / 394.7 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.4362, allocations: 13.28 kB / 394.7 MB, free: 45.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000933/0.4372, allocations: 407.3 kB / 395.1 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4384, allocations: 329.4 kB / 395.4 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.4424, allocations: 5.053 MB / 400.5 MB, free: 41.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4439, allocations: 92.88 kB / 400.5 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.4441, allocations: 51.02 kB / 400.6 MB, free: 41.45 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.001245/0.4453, allocations: 0.7212 MB / 401.3 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.4457, allocations: 164.6 kB / 401.5 MB, free: 40.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.4487, allocations: 2.135 MB / 403.6 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.4488, allocations: 15.34 kB / 403.6 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4488, allocations: 3.812 kB / 403.6 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4488, allocations: 9.047 kB / 403.6 MB, free: 39.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006161/0.455, allocations: 4.56 MB / 408.2 MB, free: 35.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.455, allocations: 8.281 kB / 408.2 MB, free: 35.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008737/0.4559, allocations: 219.7 kB / 408.4 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.4569, allocations: 473.2 kB / 408.9 MB, free: 34.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.211e-05/0.457, allocations: 39.91 kB / 408.9 MB, free: 34.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00465/0.4617, allocations: 6.672 MB / 415.6 MB, free: 27.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4617, allocations: 4.031 kB / 415.6 MB, free: 27.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.4658, allocations: 3.187 MB / 418.8 MB, free: 24.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.4668, allocations: 402.9 kB / 419.2 MB, free: 23.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.467, allocations: 24 kB / 419.2 MB, free: 23.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/0.4678, allocations: 75.91 kB / 419.3 MB, free: 23.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.4681, allocations: 108.8 kB / 419.4 MB, free: 23.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/0.4682, allocations: 35.98 kB / 419.4 MB, free: 23.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.4695, allocations: 1.048 MB / 420.5 MB, free: 22.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4695, allocations: 0 / 420.5 MB, free: 22.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00161/0.4711, allocations: 458.6 kB / 420.9 MB, free: 22.07 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.0003743/0.4715, allocations: 193.9 kB / 421.1 MB, free: 21.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002953/0.4745, allocations: 2.277 MB / 423.4 MB, free: 19.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4745, allocations: 0 / 423.4 MB, free: 19.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.4763, allocations: 1.485 MB / 424.9 MB, free: 18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.4781, allocations: 446.1 kB / 425.3 MB, free: 17.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.4846, allocations: 4.462 MB / 429.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.4857, allocations: 1.822 MB / 431.6 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.4868, allocations: 397.5 kB / 432 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.4871, allocations: 107.4 kB / 432.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of SimCode: time 1.472e-06/0.4871, allocations: 3.719 kB / 432.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of Templates: time 0.0461/0.5332, allocations: 25.54 MB / 457.6 MB, free: 1.176 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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